From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f193.google.com ([209.85.210.193]:36521 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727047AbeILDgk (ORCPT ); Tue, 11 Sep 2018 23:36:40 -0400 Received: by mail-pf1-f193.google.com with SMTP id b11-v6so12931570pfo.3 for ; Tue, 11 Sep 2018 15:35:13 -0700 (PDT) From: Omar Sandoval To: linux-btrfs@vger.kernel.org Cc: kernel-team@fb.com, linux-mm@kvack.org Subject: [PATCH v7 0/6] Btrfs: implement swap file support Date: Tue, 11 Sep 2018 15:34:43 -0700 Message-Id: Sender: linux-btrfs-owner@vger.kernel.org List-ID: 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