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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 09, 2014 at 02:52:27PM +0000, 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 maintain compatibility with the older kernels.
> Heavy btrfs usage is going to want a newer kernel anyway, but this is an
> important policy to keep in place for the future.

I agree.

> Especially since Wang went to the trouble of making the patch, I'd
> rather take it.

What do you think about adding #ifdef's around the code? That way we'll
know that's for backwards compatibility only and up to what kernel
version. It will be easier to remove it in the far future.


david
--
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




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux