On Tue, Sep 11, 2018 at 03:34:43PM -0700, Omar Sandoval wrote: > From: Omar Sandoval <osandov@xxxxxx> > > Hi, > > This series implements swap file support for Btrfs. > > Changes from v6 [1]: > > - Moved btrfs_get_chunk_map() comment to function body > - Added more comments about pinned block group/device rbtree > - Fixed bug in patch 4 which broke resize > > Based on v4.19-rc3. > > Thanks! > > 1: https://www.spinics.net/lists/linux-btrfs/msg81732.html > > Omar Sandoval (6): > mm: split SWP_FILE into SWP_ACTIVATED and SWP_FS > mm: export add_swap_extent() > vfs: update swap_{,de}activate documentation > Btrfs: prevent ioctls from interfering with a swap file > Btrfs: rename get_chunk_map() and make it non-static > Btrfs: support swap files > > Documentation/filesystems/Locking | 17 +- > Documentation/filesystems/vfs.txt | 12 +- > fs/btrfs/ctree.h | 29 +++ > fs/btrfs/dev-replace.c | 8 + > fs/btrfs/disk-io.c | 4 + > fs/btrfs/inode.c | 317 ++++++++++++++++++++++++++++++ > fs/btrfs/ioctl.c | 31 ++- > fs/btrfs/relocation.c | 18 +- > fs/btrfs/volumes.c | 82 ++++++-- > fs/btrfs/volumes.h | 2 + > include/linux/swap.h | 13 +- > mm/page_io.c | 6 +- > mm/swapfile.c | 14 +- > 13 files changed, 502 insertions(+), 51 deletions(-) Ping, any other comments on this version?