On Mon, Feb 24, 2014 at 07:48:45PM +0800, Anand Jain wrote: > The user land progs needs a simple way to see > the raw list of disks and its parameters as seen > by the btrfs kernel. > As of now btrfs-devlist uses this ioctl. As discussed before together with Hugo, the ioctl could exist parallel to sysfs export of the device data. From that point it's easier to maintain and update a set of sysfs files than an ioctl. The way you suggest it right now lacks future-proof extensibility and backward compatibility handling. The userspace code is said to be a small and debug program, the sysfs would IMHO satsify it needs as well, so I suggest not to continue on the ioctl approach. -- 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
