On Tue, Jun 23, 2026 at 6:52 AM Christoph Hellwig <[email protected]> wrote: > > Add a iomap_bio_submit_read_endio helper factored out of > iomap_bio_submit_read to that all ->submit_read implementations for > iomap_read_ops that use iomap_bio_read_folio_range can shared the > logic. > > Right now that logic is mostly trivial, but already has a bug for XFS > because the XFS version is too trivial: file system integrity validation > needs a workqueue context and thus can't happen from the default iomap > bi_end_io I/O handler. Unfortunately the iomap refactoring just before > fs integrity landed moved code around here and the call go misplaced, > meaning it never got called. The PI information still is verified by > the block layer, but the offloading is less efficient (and the future > userspace interface can't get at it). > > Fixes: 0b10a370529c ("iomap: support T10 protection information") > Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Joanne Koong <[email protected]>
