]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit284086efdb3bbf0dc91055a960b7ccf4c335b365
tree2031367c4c363ba3698a2625a87b5393971277ed
parentc610cf83a93794e58e51e8c4b78f5df75aa30f6c
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