]> www.infradead.org Git - users/hch/misc.git/commit
iomap: introduce iomap_read_folio_ops
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Fri, 4 Oct 2024 20:04:29 +0000 (16:04 -0400)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2025 09:21:32 +0000 (10:21 +0100)
commit13c7465f352b120a9d494089a8031fe56da51c17
tree605621396924bed4c73e527b9ccb0e5619d0e57d
parentb4a809cf09cdaff29bce3652a7cb0de58e32ddb3
iomap: introduce iomap_read_folio_ops

iomap_read_folio_ops provide additional functions to allocate or submit
the bio. Filesystems such as btrfs have additional operations with bios
such as verifying data checksums. Creating a bio submission hook allows
the filesystem to process and verify the bio.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
[hch: add a helper, pass file offset to ->submit_io]
Signed-off-by: Christoph Hellwig <hch@lst.de>
block/fops.c
fs/erofs/data.c
fs/gfs2/aops.c
fs/iomap/buffered-io.c
fs/xfs/xfs_aops.c
fs/zonefs/file.c
include/linux/iomap.h