Re: [PATCH] Btrfs + Btrfs-progs: make pipe functions re-usable

2012-09-20 Thread David Sterba
On Tue, Sep 18, 2012 at 01:33:29PM +0800, Anand Jain wrote: 'btrfs service history mnt|dev' is basically to show the list of cli/gui commands which are successfully run on the btrfs as part of its - creation (may be), configuration and maintenance. Is it modelled after ZFS 'zpool

Re: [PATCH] Btrfs + Btrfs-progs: make pipe functions re-usable

2012-09-17 Thread Hugo Mills
On Mon, Sep 17, 2012 at 12:48:10PM +0800, Anand Jain wrote: btrfs send introduced a part of code to read kernel-data from user-end using pipe. We need this part of code to be useable outside of send sub-cmd, so that developing service sub-cmd can use it. What's 'service sub-cmd'

Re: [PATCH] Btrfs + Btrfs-progs: make pipe functions re-usable

2012-09-17 Thread David Sterba
On Mon, Sep 17, 2012 at 12:48:10PM +0800, Anand Jain wrote: btrfs send introduced a part of code to read kernel-data from user-end using pipe. We need this part of code to be useable outside of send sub-cmd, so that developing service sub-cmd can use it. What's 'service sub-cmd'

Re: [PATCH] Btrfs + Btrfs-progs: make pipe functions re-usable

2012-09-17 Thread Anand Jain
As I said in our private email exchange some months ago, I don't think this is the right way to be doing this. For example, if you use an alternative tool (such as btrfs-gui) which uses the ioctls directly, you've lost that logging information. I agree with that Hugo. Thanks. These

Re: [PATCH] Btrfs + Btrfs-progs: make pipe functions re-usable

2012-09-17 Thread Anand Jain
What's 'service sub-cmd' please? at the moment 'btrfs service historymnt|dev' to show logs of maintenance. comments/suggestions welcome. Sorry, but without a more detailed description I can hardly give useful comments. David, 'btrfs service history mnt|dev' is basically to

Re: [PATCH] Btrfs + Btrfs-progs: make pipe functions re-usable

2012-09-16 Thread Anand Jain
btrfs send introduced a part of code to read kernel-data from user-end using pipe. We need this part of code to be useable outside of send sub-cmd, so that developing service sub-cmd can use it. What's 'service sub-cmd' please? at the moment 'btrfs service history mnt|dev' to

Re: [PATCH] Btrfs + Btrfs-progs: make pipe functions re-usable

2012-09-14 Thread David Sterba
On Fri, Sep 14, 2012 at 01:50:24PM +0800, anand jain wrote: btrfs send introduced a part of code to read kernel-data from user-end using pipe. We need this part of code to be useable outside of send sub-cmd, so that developing service sub-cmd can use it. What's 'service sub-cmd' please?

[PATCH] Btrfs + Btrfs-progs: make pipe functions re-usable

2012-09-13 Thread anand jain
btrfs send introduced a part of code to read kernel-data from user-end using pipe. We need this part of code to be useable outside of send sub-cmd, so that developing service sub-cmd can use it. Following this email are the patches for this purpose. Thanks, Anand -- To unsubscribe from