Skip to content

RFC Turn iomap_page_ops into iomap_folio_ops

Andreas Gruenbacher cluster-devel linux-ext4 linux-fsdevel linux-xfs 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 RFC Latest10 patches 30 repliesIn review
  2. v59 patches 23 repliesSuperseded
  3. v4 RFC7 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 RFC7 patches16 repliesSuperseded
v2 RFC3 patches3 repliesSuperseded
v1 RFC3 patches0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10iomap: Add __iomap_put_folio helperfs/iomap/buffered-io.c+17 -120 replies
2/10iomap/gfs2: Unlock and put folio in page_done handlerfs/gfs2/bmap.c fs/iomap/buffered-io.c include/linux/iomap.h+20 -100 replies
3/10iomap: Rename page_done handler to put_foliofs/gfs2/bmap.c fs/iomap/buffered-io.c include/linux/iomap.h+10 -100 replies
4/10iomap: Add iomap_get_folio helperfs/iomap/buffered-io.c include/linux/iomap.h+31 -915 replies
5/10iomap/gfs2: Get page in page_prepare handlerfs/gfs2/bmap.c fs/iomap/buffered-io.c include/linux/iomap.h+24 -232 replies
6/10iomap: Add __iomap_get_folio helperfs/iomap/buffered-io.c+12 -41 reply
7/10iomap: Rename page_prepare handler to get_foliofs/gfs2/bmap.c fs/iomap/buffered-io.c include/linux/iomap.h+8 -80 replies
8/10iomap/xfs: Eliminate the iomap_valid handlerfs/iomap/buffered-io.c fs/xfs/xfs_iomap.c include/linux/iomap.h+37 -4912 replies
9/10iomap: Rename page_ops to folio_opsfs/gfs2/bmap.c fs/iomap/buffered-io.c fs/xfs/xfs_iomap.c +1 more+14 -140 replies
10/10xfs: Make xfs_iomap_folio_ops staticfs/xfs/xfs_iomap.c+1 -10 replies

Reviews trailers per patch

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

PatchDarrick J. WongChristoph Hellwig
1/10R-b R-b
2/10R-b R-b
3/10R-b R-b
4/10R-b R-b
5/10R-b R-b
6/10R-b
7/10R-b R-b
8/10R-b
9/10R-b R-b
10/10R-b

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

Read the v6 thread

Cover letter [RFC v6 00/10] Turn iomap_page_ops into iomap_folio_ops

Here's an updated version of this patch queue. Changes since v5 [*]:

* A new iomap-internal __iomap_get_folio() helper was added.

* The previous iomap-internal iomap_put_folio() helper was renamed to __iomap_put_folio() to mirror __iomap_get_folio().

* The comment describing struct iomap_folio_ops was still referring to pages instead of folios in two places.

Is this good enough for iomap-for-next now, please?

Thanks,
Andreas

[*] https://lore.kernel.org/linux-xfs/20221231150919.659533-1-agruenba at redhat.com/

Andreas Gruenbacher (10):
iomap: Add __iomap_put_folio helper iomap/gfs2: Unlock and put folio in page_done handler
iomap: Rename page_done handler to put_folio
iomap: Add iomap_get_folio helper iomap/gfs2: Get page in page_prepare handler
iomap: Add __iomap_get_folio helper
iomap: Rename page_prepare handler to get_folio iomap/xfs: Eliminate the iomap_valid handler
iomap: Rename page_ops to folio_ops
xfs: Make xfs_iomap_folio_ops static

 fs/gfs2/bmap.c         |  38 ++++++++++-----
 fs/iomap/buffered-io.c | 105 +++++++++++++++++++++++------------------
 fs/xfs/xfs_iomap.c     |  41 +++++++++++-----
 include/linux/iomap.h  |  50 +++++++++-----------
 4 files changed, 134 insertions(+), 100 deletions(-)
Signature · 1 line
2.38.1