linux/fs/exfat
Christoph Hellwig 044472d5ee
iomap: consolidate bio submission
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: 0b10a37052 ("iomap: support T10 protection information")
Cc: stable@vger.kernel.org # v7.1
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260629121750.3392300-2-hch@lst.de
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
2026-07-01 15:26:47 +02:00
..
balloc.c exfat: replace unsafe macros with static inline functions 2026-06-15 19:55:29 +09:00
cache.c exfat: support multi-cluster for exfat_get_cluster 2026-02-12 21:21:51 +09:00
dir.c exfat: bound uniname advance in exfat_find_dir_entry() 2026-06-15 20:01:04 +09:00
exfat_fs.h exfat: preserve benign secondary entries during rename and move 2026-06-15 20:00:53 +09:00
exfat_raw.h exfat: fix s_maxbytes 2026-03-31 23:01:07 +09:00
fatent.c exfat: add support for multi-cluster allocation 2026-06-15 19:55:42 +09:00
file.c exfat: serialize truncate against in-flight DIO 2026-06-15 20:00:49 +09:00
inode.c exfat: add swap_activate support 2026-06-15 20:01:00 +09:00
iomap.c iomap: consolidate bio submission 2026-07-01 15:26:47 +02:00
iomap.h exfat: add swap_activate support 2026-06-15 20:01:00 +09:00
Kconfig exfat: add iomap direct I/O support 2026-06-15 20:00:40 +09:00
Makefile exfat: add iomap buffered I/O support 2026-06-15 20:00:23 +09:00
misc.c exfat: fix error handling for FAT table operations 2026-03-05 21:09:35 +09:00
namei.c exfat: preserve benign secondary entries during rename and move 2026-06-15 20:00:53 +09:00
nls.c exfat: fix handling of damaged volume in exfat_create_upcase_table() 2026-06-15 19:55:17 +09:00
super.c exfat: add data_start_bytes and exfat_cluster_to_phys_bytes() helper 2026-06-15 19:55:47 +09:00