Re: (subset) [PATCH v5 00/22] iomap: convert to in-iter iomap_next() model

Christian Brauner <[email protected]> Thu, 30 Jul 2026 12:33:44 +0200
Newsgroups org.kernel.vger.linux-xfs,org.kernel.vger.linux-ext4,org.kernel.vger.linux-fsdevel
Message-ID <20260730-habseligkeiten-adrett-axthieb-e619a48325ad@brauner>
On Wed, 29 Jul 2026 12:27:15 -0700, Joanne Koong wrote:
> iomap: convert to in-iter iomap_next() model
> 
> This series implements a suggestion by Christoph for finishing the conversion
> of iomap to an iterator model. This revives Matthew's previous RFC [1], which
> had the same intention.
> 
> Every iomap operation currently drives its iteration through a struct
> iomap_ops, which contains two callbacks, ->iomap_begin() and ->iomap_end().
> iomap_iter() only ever sees these as pointers, so every step of every
> iteration is an indirect call, including on the hottest paths.
> 
> [...]

Applied to the vfs-7.3.iomap branch of the vfs/vfs.git tree.
Patches in the vfs-7.3.iomap branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.3.iomap

[01/22] iomap: release the folio batch on iomap callback failures
        https://git.kernel.org/vfs/vfs/c/c02d8298c979
[02/22] iomap: split iomap_iter() logic into iomap_iter_next()
        https://git.kernel.org/vfs/vfs/c/78c9e6b07ffe
[03/22] iomap: decouple simple direct I/O reads from iomap_dio_rw
        https://git.kernel.org/vfs/vfs/c/59389c7d3068
[04/22] iomap: use GFP_NOWAIT when application for iomap_dio_simple allocations
        https://git.kernel.org/vfs/vfs/c/98aa16d184b7
[05/22] iomap: add ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/e93eeed8ce74
[06/22] xfs: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/c807f6c9de95
[07/22] btrfs: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/8a5cf58dc6c6
[08/22] ntfs3: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/2d53882bcb18
[09/22] ntfs: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/4d9ea94adc0d
[10/22] ext4: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/e85fe93027cf
[11/22] erofs: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/9b0cef67d4e0
[12/22] zonefs: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/4b9de085c9a2
[13/22] ext2: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/cfcfc6724b0a
[14/22] block: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/cb372ea04331
[15/22] f2fs: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/c034d0d0bcd0
[16/22] gfs2: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/1096941fd797
[17/22] hpfs: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/7e8aad7196b1
[18/22] fuse: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/a9032fd59a40
[19/22] exfat: convert iomap ops to ->iomap_next()
        https://git.kernel.org/vfs/vfs/c/332f88127cfa
[20/22] iomap: remove ->iomap_begin()/->iomap_end() legacy path
        https://git.kernel.org/vfs/vfs/c/0210c4ba2547