From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by kanga.kvack.org (Postfix) with ESMTP id 828D58E0001 for ; Tue, 11 Sep 2018 18:35:14 -0400 (EDT) Received: by mail-pf1-f197.google.com with SMTP id b69-v6so13526807pfc.20 for ; Tue, 11 Sep 2018 15:35:14 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id 192-v6sor2637700pgf.194.2018.09.11.15.35.13 for (Google Transport Security); Tue, 11 Sep 2018 15:35:13 -0700 (PDT) From: Omar Sandoval Subject: [PATCH v7 0/6] Btrfs: implement swap file support Date: Tue, 11 Sep 2018 15:34:43 -0700 Message-Id: Sender: owner-linux-mm@kvack.org List-ID: To: linux-btrfs@vger.kernel.org Cc: kernel-team@fb.com, linux-mm@kvack.org From: Omar Sandoval 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(-) -- 2.18.0