Re: [RFC PATCH v3 0/7] btrfs: implement swap file support

2014-12-12 Thread Omar Sandoval
On Fri, Dec 12, 2014 at 11:32:13AM +0100, David Sterba wrote: > On Tue, Dec 09, 2014 at 05:45:41PM -0800, Omar Sandoval wrote: > > After some discussion on the mailing list, I decided that for simplicity and > > reliability, it's best to simply disallow COW files and files with shared > > extents (

Re: [RFC PATCH v3 0/7] btrfs: implement swap file support

2014-12-12 Thread David Sterba
On Tue, Dec 09, 2014 at 05:45:41PM -0800, Omar Sandoval wrote: > After some discussion on the mailing list, I decided that for simplicity and > reliability, it's best to simply disallow COW files and files with shared > extents (like files with extents shared with a snapshot). From a user's > persp

[RFC PATCH v3 0/7] btrfs: implement swap file support

2014-12-09 Thread Omar Sandoval
Hi, everyone, This patch series, based on v3.18, implements support for swap files on BTRFS. Patches 1, 3, and 4 are for the VFS folks, patch 2 is for NFS, and the rest is all BTRFS. The standard swap file implementation uses bmap() to get a list of physical blocks to do I/O on. This doesn't work