Skip to content

Convert to filemap_get_folios_contig()

Vishal Moola (Oracle) linux-btrfs linux-fsdevel linux-mm linux-nilfs lkml 3 versions – Applied

Status from this message: [merged mm-stable] filemap-remove-find_get_pages_contig.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 1 replyApplied 7/7
  2. v27 patches 8 repliesSuperseded
  3. v17 patches 1 replySuperseded

Changes in v3 from the cover letter

- 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

Patches in v3 All 7 applied

#Subject and filesSizeRepliesApplied
1/7filemap: Add filemap_get_folios_contig()include/linux/pagemap.h mm/filemap.c+75 -00 repliesApplied
2/7btrfs: Convert __process_pages_contig() to use filemap_get_folios_contig()fs/btrfs/extent_io.c+15 -180 repliesApplied
3/7btrfs: Convert end_compressed_writeback() to use filemap_get_folios()fs/btrfs/compression.c+15 -160 repliesApplied
4/7btrfs: Convert process_page_range() to use filemap_get_folios_contig()fs/btrfs/subpage.c fs/btrfs/tests/extent-io-tests.c+18 -160 repliesApplied
5/7nilfs2: Convert nilfs_find_uncommited_extent() to use filemap_get_folios_contig()fs/nilfs2/page.c+18 -271 replyApplied
6/7ramfs: Convert ramfs_nommu_get_unmapped_area() to use filemap_get_folios_contig()fs/ramfs/file-nommu.c+29 -210 repliesApplied
7/7filemap: Remove find_get_pages_contig()include/linux/pagemap.h mm/filemap.c+0 -620 repliesApplied

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchDavid SterbaRyusuke Konishi
1/7
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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 <[email protected]>

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(-)
Signature · 1 line
2.36.1