Re: [PATCH] Btrfs-progs: make send/receive compatible with older kernels

2014-01-17 Thread Wang Shilong
Hi Dave, On 01/14/2014 11:27 PM, David Sterba wrote: On Thu, Jan 09, 2014 at 02:52:27PM +, Chris Mason wrote: You may need to upgrade the kernel to get new features offered by a new userspace, but I think we should absolutely not be changing userspace in a way that makes it

Re: [PATCH] Btrfs-progs: make send/receive compatible with older kernels

2014-01-14 Thread David Sterba
On Thu, Jan 09, 2014 at 02:52:27PM +, Chris Mason wrote: You may need to upgrade the kernel to get new features offered by a new userspace, but I think we should absolutely not be changing userspace in a way that makes it incompatible with older kernels. I'd really prefer that we

[PATCH] Btrfs-progs: make send/receive compatible with older kernels

2014-01-09 Thread Wang Shilong
Some users complaint that with latest btrfs-progs, they will fail to use send/receive. The problem is new tool will try to use uuid tree while it dosen't work on older kernel. Now we first check if we support uuid tree, if not we fall into normal search as previous way.i copy most of codes from

Re: [PATCH] Btrfs-progs: make send/receive compatible with older kernels

2014-01-09 Thread Stefan Behrens
On Thu, 9 Jan 2014 18:52:38 +0800, Wang Shilong wrote: Some users complaint that with latest btrfs-progs, they will fail to use send/receive. The problem is new tool will try to use uuid tree while it dosen't work on older kernel. Now we first check if we support uuid tree, if not we fall

Re: [PATCH] Btrfs-progs: make send/receive compatible with older kernels

2014-01-09 Thread Wang Shilong
Hi Stefan, On 01/09/2014 07:49 PM, Stefan Behrens wrote: On Thu, 9 Jan 2014 18:52:38 +0800, Wang Shilong wrote: Some users complaint that with latest btrfs-progs, they will fail to use send/receive. The problem is new tool will try to use uuid tree while it dosen't work on older kernel. Now

Re: [PATCH] Btrfs-progs: make send/receive compatible with older kernels

2014-01-09 Thread Hugo Mills
On Thu, Jan 09, 2014 at 12:49:48PM +0100, Stefan Behrens wrote: On Thu, 9 Jan 2014 18:52:38 +0800, Wang Shilong wrote: Some users complaint that with latest btrfs-progs, they will fail to use send/receive. The problem is new tool will try to use uuid tree while it dosen't work on older

Re: [PATCH] Btrfs-progs: make send/receive compatible with older kernels

2014-01-09 Thread Chris Mason
On Thu, 2014-01-09 at 12:16 +, Hugo Mills wrote: On Thu, Jan 09, 2014 at 12:49:48PM +0100, Stefan Behrens wrote: On Thu, 9 Jan 2014 18:52:38 +0800, Wang Shilong wrote: Some users complaint that with latest btrfs-progs, they will fail to use send/receive. The problem is new tool will