Skip to content

Ranged pagevec tagged lookup

Jan Kara ceph-devel cluster-devel linux-btrfs linux-cifs linux-ext4 linux-f2fs-devel linux-fsdevel linux-mm linux-nilfs 3 versions – Applied

Status from this message: [merged] cifs-use-find_get_pages_range_tag.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest16 patches 1 replyApplied 16/16
  2. v215 patches 10 repliesSuperseded
  3. v115 patches 7 repliesSuperseded

Changes in v3 from the cover letter

* style fixup in __filemap_fdatawait_range() suggested by Dave Chinner
* added couple of Reviewed-by tags
* fixed wrong EXPORT_SYMBOL spotted by Daniel Jordan
* added missed Ceph conversion spotted by Daniel Jordan
* added conversion of Cifs suggested by Daniel Jordan
* rebased on top of 4.14-rc4

Patches in v3 All 16 applied

#Subject and filesSizeRepliesApplied
1/16mm: Implement find_get_pages_range_tag()include/linux/pagemap.h include/linux/pagevec.h mm/filemap.c +1 more+48 -170 repliesApplied
2/16btrfs: Use pagevec_lookup_range_tag()fs/btrfs/extent_io.c+4 -150 repliesApplied
3/16ceph: Use pagevec_lookup_range_tag()fs/ceph/addr.c+3 -160 repliesApplied
4/16ext4: Use pagevec_lookup_range_tag()fs/ext4/inode.c+2 -120 repliesApplied
5/16f2fs: Use pagevec_lookup_range_tag()fs/f2fs/data.c+2 -70 repliesApplied
6/16f2fs: Simplify page iteration loopsfs/f2fs/checkpoint.c fs/f2fs/node.c+28 -500 repliesApplied
7/16f2fs: Use find_get_pages_tag() for looking up single pagefs/f2fs/file.c+7 -60 repliesApplied
8/16gfs2: Use pagevec_lookup_range_tag()fs/gfs2/aops.c+2 -180 repliesApplied
9/16nilfs2: Use pagevec_lookup_range_tag()fs/nilfs2/segment.c+2 -60 repliesApplied
10/16mm: Use pagevec_lookup_range_tag() in __filemap_fdatawait_range()mm/filemap.c+6 -80 repliesApplied
11/16mm: Use pagevec_lookup_range_tag() in write_cache_pages()mm/page-writeback.c+2 -180 repliesApplied
12/16mm: Add variant of pagevec_lookup_range_tag() taking number of pagesinclude/linux/pagevec.h mm/swap.c+12 -00 repliesApplied
13/16ceph: Use pagevec_lookup_range_nr_tag()fs/ceph/addr.c+2 -40 repliesApplied
14/16mm: Remove nr_pages argument from pagevec_lookup_{,range}_tag()fs/btrfs/extent_io.c fs/ceph/addr.c fs/ext4/inode.c +11 more+27 -310 repliesApplied
15/16afs: Use find_get_pages_range_tag()fs/afs/write.c+2 -90 repliesApplied
16/16cifs: Use find_get_pages_range_tag()fs/cifs/file.c+2 -191 replyApplied

Reviews trailers per patch

All 16 patches have a Reviewed-by or Acked-by.

PatchDaniel JordanDavid SterbaYan, ZhengChao YuRyusuke Konishi
1/16R-b
2/16R-b R-b
3/16R-b R-b
4/16R-b
5/16R-b R-b
6/16R-b R-b
7/16R-b R-b
8/16R-b
9/16R-b A-b
10/16R-b
11/16R-b
12/16R-b
13/16R-b R-b
14/16R-b
15/16R-b
16/16R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v3 thread

Cover letter [PATCH 0/16 v3] Ranged pagevec tagged lookup

Hello,

This is second part of the split out of the larger series to clean up pagevec APIs and provide ranged lookups. In this series I provide a ranged variant of pagevec_lookup_tag() and use it in places where it makes sense. This series removes some common code and it also has a potential for speeding up some operations similarly as for pagevec_lookup_range() (but for now I can think of only artificial cases where this happens).

The patches where filesystem changes are non-trivial got reviewed so I'm confident enough that this can get merged. Andrew can you consider picking these patches up please?

Full series including dependencies can be also obtained from my git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git find_get_pages_range

Opinions and review welcome!

Honza

Changes since v2:
* style fixup in __filemap_fdatawait_range() suggested by Dave Chinner
* added couple of Reviewed-by tags
* fixed wrong EXPORT_SYMBOL spotted by Daniel Jordan
* added missed Ceph conversion spotted by Daniel Jordan
* added conversion of Cifs suggested by Daniel Jordan
* rebased on top of 4.14-rc4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>