diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-02-23 05:20:11 -0800 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-03-10 10:29:03 +0100 |
| commit | 5f4fe046cb3c84eed719f7becbe822000e1a589e (patch) | |
| tree | 01113d4300e65fb6be324e83f8b9f4583f8245f6 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 19fb5f9780753bf99065f13e29cf5761eb5380db (diff) | |
iomap: allow file systems to hook into buffered read bio submission
File systems such as btrfs have additional operations with bios such as
verifying data checksums. Allow file systems to hook into submission
of the bio to allow for this processing by replacing the direct
submit_bio call in iomap_read_alloc_bio with a call into ->submit_read
and exporting iomap_read_alloc_bio. Also add a new field to
struct iomap_read_folio_ctx to track the file logic offset of the current
read context.
Based on a patch from Goldwyn Rodrigues <rgoldwyn@suse.com>.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260223132021.292832-12-hch@lst.de
Tested-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
