Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2016-11-23 Thread David Sterba
On Wed, Nov 23, 2016 at 11:00:49AM +0800, Anand Jain wrote: > > Preparatory bits are in patches: > > > > btrfs-progs: mkfs: add names of matching sysfs feature names > > btrfs-progs: mkfs: enhance feature table > > btrfs-progs: mkfs: extend mkfs features with compat, safe and default > > ver

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2016-11-22 Thread Anand Jain
On 11/22/16 21:16, David Sterba wrote: On Tue, Nov 22, 2016 at 04:54:58PM +0800, Anand Jain wrote: On 11/14/16 20:13, David Sterba wrote: On Tue, Nov 08, 2016 at 09:14:39PM +0800, Anand Jain wrote: This patch isn't integrated, any idea why ? Because it does not cover all usecases.

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2016-11-22 Thread David Sterba
On Tue, Nov 22, 2016 at 04:54:58PM +0800, Anand Jain wrote: > On 11/14/16 20:13, David Sterba wrote: > > On Tue, Nov 08, 2016 at 09:14:39PM +0800, Anand Jain wrote: > >> This patch isn't integrated, any idea why ? > > > > Because it does not cover all usecases. > > You have stated one of the

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2016-11-22 Thread Anand Jain
(sorry for the delay due to my vacation). On 11/14/16 20:13, David Sterba wrote: On Tue, Nov 08, 2016 at 09:14:39PM +0800, Anand Jain wrote: This patch isn't integrated, any idea why ? Because it does not cover all usecases. David, You have stated one of the use case here https

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2016-11-14 Thread David Sterba
On Tue, Nov 08, 2016 at 09:14:39PM +0800, Anand Jain wrote: > This patch isn't integrated, any idea why ? Because it does not cover all usecases. I've committed the preparatory bits from branch where I've been working on that feature so we can actually get to the hard parts. -- To unsubscribe fr

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2016-11-08 Thread Anand Jain
Hi David, This patch isn't integrated, any idea why ? Just a note, if it matters, this set has already been integrated into Oracle Linux. Thanks, Anand On 11/23/15 20:56, Anand Jain wrote: Btrfs-progs is a tool for the btrfs kernel and we hope latest btrfs-progs be compatible w any set of

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-12-04 Thread Anand Jain
David, the possibility of unloaded module that would remove the access to sysfs, as you point out. Kindly note, the patch below made /dev/btrfs-control a static node, - commit 578454ff7eab61d13a26b568f99a89a2c9edc881 Author: Kay Sievers Date: Thu May 20 18:07:20 2010 +0200 driver cor

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-12-04 Thread Liu Bo
On Fri, Dec 04, 2015 at 11:57:55AM +0800, Qu Wenruo wrote: > > > Liu Bo wrote on 2015/12/03 18:53 -0800: > >On Fri, Dec 04, 2015 at 10:08:35AM +0800, Qu Wenruo wrote: > >> > >> > >>Liu Bo wrote on 2015/12/03 17:44 -0800: > >>>On Mon, Nov 23, 2015 at 06:56:09PM +0100, David Sterba wrote: > On

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-12-04 Thread David Sterba
On Fri, Dec 04, 2015 at 10:08:35AM +0800, Qu Wenruo wrote: > Liu Bo wrote on 2015/12/03 17:44 -0800: > > On Mon, Nov 23, 2015 at 06:56:09PM +0100, David Sterba wrote: > >> On Mon, Nov 23, 2015 at 08:56:13PM +0800, Anand Jain wrote: > >>> Btrfs-progs is a tool for the btrfs kernel and we hope latest

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-12-03 Thread Qu Wenruo
Liu Bo wrote on 2015/12/03 18:53 -0800: On Fri, Dec 04, 2015 at 10:08:35AM +0800, Qu Wenruo wrote: Liu Bo wrote on 2015/12/03 17:44 -0800: On Mon, Nov 23, 2015 at 06:56:09PM +0100, David Sterba wrote: On Mon, Nov 23, 2015 at 08:56:13PM +0800, Anand Jain wrote: Btrfs-progs is a tool for th

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-12-03 Thread Liu Bo
On Fri, Dec 04, 2015 at 10:08:35AM +0800, Qu Wenruo wrote: > > > Liu Bo wrote on 2015/12/03 17:44 -0800: > >On Mon, Nov 23, 2015 at 06:56:09PM +0100, David Sterba wrote: > >>On Mon, Nov 23, 2015 at 08:56:13PM +0800, Anand Jain wrote: > >>>Btrfs-progs is a tool for the btrfs kernel and we hope lat

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-12-03 Thread Qu Wenruo
Liu Bo wrote on 2015/12/03 17:44 -0800: On Mon, Nov 23, 2015 at 06:56:09PM +0100, David Sterba wrote: On Mon, Nov 23, 2015 at 08:56:13PM +0800, Anand Jain wrote: Btrfs-progs is a tool for the btrfs kernel and we hope latest btrfs-progs be compatible w any set of older/newer kernels. So far m

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-12-03 Thread Liu Bo
On Mon, Nov 23, 2015 at 06:56:09PM +0100, David Sterba wrote: > On Mon, Nov 23, 2015 at 08:56:13PM +0800, Anand Jain wrote: > > Btrfs-progs is a tool for the btrfs kernel and we hope latest btrfs-progs > > be compatible w any set of older/newer kernels. > > > > So far mkfs.btrfs and btrfs-convert

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-11-24 Thread Anand Jain
David Sterba wrote: On Mon, Nov 23, 2015 at 08:56:13PM +0800, Anand Jain wrote: Btrfs-progs is a tool for the btrfs kernel and we hope latest btrfs-progs be compatible w any set of older/newer kernels. So far mkfs.btrfs and btrfs-convert sets the default features, for eg, skinny-metadata even

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-11-24 Thread Anand Jain
Thanks for comments. Distro would also want to use the latest btrfs-progs on older kernel since it will have latest fsck/send/receive fixes, better UI and updated man pages. btrfs-progs which claim backward kernel compatible and it shouldn't fail on the below cmd when the btrfs-progs is upgr

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-11-23 Thread Duncan
Austin S Hemmelgarn posted on Mon, 23 Nov 2015 15:14:44 -0500 as excerpted: >> A remaining option should override the 'running' behaviour and pick the >> latest mkfs options. Naming it 'defaults' sounds a bit ambiguous so the >> name is yet to be determined. > Maybe something like 'recommended' o

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-11-23 Thread Austin S Hemmelgarn
On 2015-11-23 12:56, David Sterba wrote: On Mon, Nov 23, 2015 at 08:56:13PM +0800, Anand Jain wrote: Btrfs-progs is a tool for the btrfs kernel and we hope latest btrfs-progs be compatible w any set of older/newer kernels. So far mkfs.btrfs and btrfs-convert sets the default features, for eg, s

Re: [PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-11-23 Thread David Sterba
On Mon, Nov 23, 2015 at 08:56:13PM +0800, Anand Jain wrote: > Btrfs-progs is a tool for the btrfs kernel and we hope latest btrfs-progs > be compatible w any set of older/newer kernels. > > So far mkfs.btrfs and btrfs-convert sets the default features, for eg, > skinny-metadata even if the running

[PATCH v2 0/5] Make btrfs-progs really compatible with any kernel version

2015-11-23 Thread Anand Jain
Btrfs-progs is a tool for the btrfs kernel and we hope latest btrfs-progs be compatible w any set of older/newer kernels. So far mkfs.btrfs and btrfs-convert sets the default features, for eg, skinny-metadata even if the running kernel does not supports it, and so the mount fails on the running.