Re: device delete to get errors from the kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





  Thanks for the comments. V2 is out. Here I followed
  the choice #1 as review suggested. which is to update
  the error code. However I have them in uapi/linux/btrfs.h
  (not in errno.h though I meant it to be there in the first
  place).

  pls do let me know your review comments.

Thanks, Anand


On 04/26/2013 05:39 PM, Anand Jain wrote:

  As showed in the previous email in this thread, we need to get
  the error string from the kernel to the cli to improve the
  usability of the product.
  As also said, I was looking at two way which I think we could
  do this, here I take the 2nd approach which is to pass the error
  string though the ioctl args. Which leads to change in the
  ioctl-structure. But..

  This comes with a caveat that both btrfs-progs and btrfs-kernel
  patch together either must be applied or removed.

   [PATCH] btrfs-progs: device delete to get errors from the kernel
   [PATCH] btrfs: device delete to get errors from the kernel

  Which is not a developer/integrator friendly rule. If there
  is anything I could do to help on this pls do let me know.

  There are quite a number of cli which needs passing of the
  the error string from the kernel to cli. Which I plan to work
  once we finalize the approach to address this issue.

  Thanks for your time to review this.

Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux