iomap: add per-iomap_iter private data
authorChristoph Hellwig <hch@lst.de>
Thu, 5 May 2022 20:11:11 +0000 (15:11 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:17:32 +0000 (17:17 +0200)
commit786f847f43a54e63161474fe85a4f1764d871a35
tree2031367c4c363ba3698a2625a87b5393971277ed
parent908c54909ae72dcbf1d7e1440f7297187d06c275
iomap: add per-iomap_iter private data

Allow the file system to keep state for all iterations.  For now only
wire it up for direct I/O as there is an immediate need for it there.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c
fs/erofs/data.c
fs/ext4/file.c
fs/f2fs/file.c
fs/gfs2/file.c
fs/iomap/direct-io.c
fs/xfs/xfs_file.c
fs/zonefs/super.c
include/linux/iomap.h