On 01/27/2014 04:47 PM, Hugo Mills wrote:
On Mon, Jan 27, 2014 at 04:52:50PM +0800, Anand Jain wrote:
The user land progs needs a simple way to read
the raw list of disks and its parameters as
btrfs kernel understands it. This patch will
introduce BTRFS_IOC_GET_DEVS which dumps
every thing under fs_devices.
As of now btrfs-devlist uses this ioctl.
In the long run this ioctl would help to optimize
some part of btrfs-progs, mainly the current
btrfs filesystem show
Just thinking out loud here, really, but can we export this
information in /sys instead, rather than adding yet more ioctls?
I was more inclined towards (live) memory dump. But I need to fix
btrfs-progs as well so ioctl.
--
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