Re: [PATCH v4 1/3] btrfs-progs: mechanism to fetch fsinfo from btrfs-control

2013-11-15 Thread David Sterba
On Fri, Nov 15, 2013 at 07:25:33PM +0800, Anand Jain wrote: > need fsinfo from btrfs-control that is when mount path is > not known. > current method of going through each mount points isn't > efficient, and multiple subvol of a fsid could be mounted > means extra logic to handle that. Further this

[PATCH v4 1/3] btrfs-progs: mechanism to fetch fsinfo from btrfs-control

2013-11-15 Thread Anand Jain
need fsinfo from btrfs-control that is when mount path is not known. current method of going through each mount points isn't efficient, and multiple subvol of a fsid could be mounted means extra logic to handle that. Further this will help to revamp check_mounted() (planned) check_mounted is heavi