Skip to content

iomap: remaining patches for iomap_iter_next conversion

Joanne Koong fuse-devel linux-ext4 linux-fsdevel linux-nilfs linux-xfs 1 version Applied

Status from this message: Applied to the vfs.fixes branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5nilfs2: convert iomap ops to ->iomap_next()fs/nilfs2/iomap.c+3 -12 replies
2/5fuse: convert ext_map iomap ops to ->iomap_next()fs/fuse/ext_map.c+4 -11 reply
3/5iomap: remove ->iomap_begin()/->iomap_end() legacy pathfs/iomap/iter.c include/linux/iomap.h+3 -90 replies
4/5iomap: pass iomap_iter_next_fn directly instead of struct iomap_opsblock/fops.c fs/btrfs/direct-io.c fs/dax.c +57 more+338 -4800 replies
5/5Documentation: iomap: update docs to reflect iomap_iter_next modelDocumentation/filesystems/iomap/design.rst Documentation/filesystems/iomap/operations.rst Documentation/filesystems/iomap/porting.rst+151 -730 replies

Reviews trailers per patch

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

PatchFengnan ChangChristoph HellwigDarrick J. WongJan KaraRyusuke Konishi
1/5R-b A-b
2/5R-b
3/5R-b R-b R-b
4/5R-b A-b
5/5R-b R-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 v1 thread

Cover letter [PATCH 0/5] iomap: remaining patches for iomap_iter_next conversion

Hi Christian,

This is a resend of the last 3 patches from the "iomap: convert to in-iter iomap_next() model" patch series [1].

Those 3 patches are rebased on top of current mainline (commit 83f32c773255 ("Merge tag 'erofs-for-7.4-rc1-2' ...")) in Linus's tree. They require two new preparatory patches (patches 1 and 2 in this series), which are trivial ->iomap_next() conversions of the nilfs2 and fuse iomap code that was added during this merge window. There were conflicts with "iomap: pass iomap_iter_next_fn directly instead of struct iomap_ops" (patch 4 in this series) during the rebase. These are resolved in the patch, which now also converts the iomap users added this merge window (ext4 iomap buffered I/O, exfat swap activation, nilfs2, and fuse ext_map). Jan's Acked-by and Christoph's Reviewed-by on it predate these changes.

These patches are being sent out now in case anyone wants to look at the preparatory patches or patch 4. This series applies cleanly to both current mainline and next-20261027. If anything conflicts by the time you pick it up at the end of the merge window, I'll rebase and resend.

Thanks,
Joanne

[1] https://lore.kernel.org/linux-fsdevel/[email protected]/

Joanne Koong (5):
nilfs2: convert iomap ops to ->iomap_next()
fuse: convert ext_map iomap ops to ->iomap_next()
iomap: remove ->iomap_begin()/->iomap_end() legacy path
iomap: pass iomap_iter_next_fn directly instead of struct iomap_ops
Documentation: iomap: update docs to reflect iomap_iter_next model

 Documentation/filesystems/iomap/design.rst    | 140 +++++++++++++-----
 .../filesystems/iomap/operations.rst          |  68 ++++-----
 Documentation/filesystems/iomap/porting.rst   |  16 +-
 block/fops.c                                  |  10 +-
 fs/btrfs/direct-io.c                          |   8 +-
 fs/dax.c                                      |  48 +++---
 fs/erofs/data.c                               |  28 ++--
 fs/erofs/internal.h                           |   3 +-
 fs/erofs/zmap.c                               |   7 +-
 fs/exfat/file.c                               |  14 +-
 fs/exfat/inode.c                              |   6 +-
 fs/exfat/iomap.c                              |  22 +--
 fs/exfat/iomap.h                              |   6 +-
 fs/ext2/ext2.h                                |   3 +-
 fs/ext2/file.c                                |   4 +-
 fs/ext2/inode.c                               |   9 +-
 fs/ext4/ext4.h                                |  10 +-
 fs/ext4/extents.c                             |   8 +-
 fs/ext4/file.c                                |  22 +--
 fs/ext4/inode.c                               |  58 +++-----
 fs/f2fs/data.c                                |   6 +-
 fs/f2fs/f2fs.h                                |   3 +-
 fs/f2fs/file.c                                |   4 +-
 fs/fuse/dax.c                                 |  10 +-
 fs/fuse/ext_map.c                             |  11 +-
 fs/fuse/file.c                                |  10 +-
 fs/fuse/virtio_fs.c                           |   3 +-
 fs/gfs2/aops.c                                |   6 +-
 fs/gfs2/bmap.c                                |   9 +-
 fs/gfs2/bmap.h                                |   2 +-
 fs/gfs2/file.c                                |   6 +-
 fs/gfs2/inode.c                               |   6 +-
 fs/hpfs/file.c                                |   6 +-
 fs/internal.h                                 |   1 -
 fs/iomap/buffered-io.c                        |  40 ++---
 fs/iomap/direct-io.c                          |   8 +-
 fs/iomap/fiemap.c                             |   8 +-
 fs/iomap/iter.c                               |  13 +-
 fs/iomap/seek.c                               |   8 +-
 fs/iomap/swapfile.c                           |   4 +-
 fs/iomap/trace.h                              |  12 +-
 fs/nilfs2/file.c                              |   2 +-
 fs/nilfs2/iomap.c                             |   4 +-
 fs/nilfs2/iomap.h                             |   4 +-
 fs/ntfs/aops.c                                |   6 +-
 fs/ntfs/file.c                                |  20 +--
 fs/ntfs/inode.c                               |   2 +-
 fs/ntfs/iomap.c                               |  42 ++----
 fs/ntfs/iomap.h                               |  10 +-
 fs/ntfs3/file.c                               |  16 +-
 fs/ntfs3/inode.c                              |  13 +-
 fs/ntfs3/ntfs_fs.h                            |   3 +-
 fs/remap_range.c                              |   6 +-
 fs/xfs/xfs_aops.c                             |   8 +-
 fs/xfs/xfs_file.c                             |  53 +++----
 fs/xfs/xfs_iomap.c                            |  55 ++-----
 fs/xfs/xfs_iomap.h                            |  16 +-
 fs/xfs/xfs_iops.c                             |   4 +-
 fs/xfs/xfs_reflink.c                          |   6 +-
 fs/zonefs/file.c                              |  22 +--
 include/linux/dax.h                           |  18 +--
 include/linux/fs.h                            |   7 +-
 include/linux/iomap.h                         |  66 +++++----
 63 files changed, 492 insertions(+), 557 deletions(-)
Signature · 1 line
2.52.0