[PATCH v3 0/7] Convert to filemap_get_folios_contig()

From: Vishal Moola (Oracle)
Date: Tue Aug 23 2022 - 20:42:52 EST


This patch series replaces find_get_pages_contig() with
filemap_get_folios_contig(). I've run xfstests on btrfs. I've also
tested the ramfs changes. I ran some xfstests on nilfs2, and its
seemingly fine although more testing may be beneficial.
---

v2:
- Removed an unused label in nilfs2
- Reported-by: kernel test robot <lkp@xxxxxxxxx>

v3:
- Fixed minor style issues in btrfs patches
- Fixed an issue in nilfs2 regarding the block index
- "nr" renamed to "nr_folios" in nilfs2 and ramfs for clarity
- Got some Acked-by's

Vishal Moola (Oracle) (7):
filemap: Add filemap_get_folios_contig()
btrfs: Convert __process_pages_contig() to use
filemap_get_folios_contig()
btrfs: Convert end_compressed_writeback() to use filemap_get_folios()
btrfs: Convert process_page_range() to use filemap_get_folios_contig()
nilfs2: Convert nilfs_find_uncommited_extent() to use
filemap_get_folios_contig()
ramfs: Convert ramfs_nommu_get_unmapped_area() to use
filemap_get_folios_contig()
filemap: Remove find_get_pages_contig()

fs/btrfs/compression.c | 31 +++++++-------
fs/btrfs/extent_io.c | 33 +++++++--------
fs/btrfs/subpage.c | 2 +-
fs/btrfs/tests/extent-io-tests.c | 32 +++++++-------
fs/nilfs2/page.c | 45 ++++++++------------
fs/ramfs/file-nommu.c | 50 ++++++++++++----------
include/linux/pagemap.h | 4 +-
mm/filemap.c | 71 +++++++++++++++++++-------------
8 files changed, 139 insertions(+), 129 deletions(-)

--
2.36.1