linux/fs/ntfs
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
..
aops.c iomap: consolidate bio submission 2026-07-01 15:26:47 +02:00
attrib.c ntfs: validate resident index root values on lookup 2026-06-09 21:51:01 +09:00
attrib.h ntfs: validate resident attribute lists and harden the validator 2026-06-08 22:57:55 +09:00
attrlist.c ntfs: validate attribute values on lookup 2026-06-06 00:20:28 +09:00
attrlist.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
bdev-io.c ntfs: fix copy length in ntfs_bdev_write() for non-page-aligned start 2026-05-08 23:50:53 +09:00
bitmap.c ntfs: fix invalid PTR_ERR() usage in __ntfs_bitmap_set_bits_in_run() 2026-04-28 21:59:59 +09:00
bitmap.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
collate.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
collate.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
compress.c ntfs: fix potential 32-bit truncation in ntfs_write_cb() 2026-04-18 11:33:21 +09:00
debug.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
debug.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
dir.c ntfs: validate index entries on reading 2026-06-06 00:19:56 +09:00
dir.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
ea.c ntfs: add bounds check before accessing EA entries 2026-06-06 00:19:59 +09:00
ea.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
file.c ntfs: add native_symlink mount option 2026-06-15 19:39:39 +09:00
index.c ntfs: update index root allocated size before shrink 2026-06-09 21:50:59 +09:00
index.h ntfs: validate index entries on reading 2026-06-06 00:19:56 +09:00
inode.c ntfs: support creating Windows native symlinks 2026-06-15 19:39:43 +09:00
inode.h ntfs: support following Windows native symlink with absolute paths 2026-06-15 19:39:37 +09:00
iomap.c ntfs: use direct pointer for inline data to avoid redundant allocation 2026-06-09 21:51:02 +09:00
iomap.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
Kconfig ntfs: select FS_IOMAP in Kconfig 2026-03-05 17:37:02 +09:00
layout.h ntfs: support following Windows native symlink with absolute paths 2026-06-15 19:39:37 +09:00
lcnalloc.c ntfs: fix variable dereferenced before check warnings 2026-03-16 20:27:45 +09:00
lcnalloc.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
logfile.c ntfs: fix u16 truncation of restart-area length check 2026-06-08 23:04:17 +09:00
logfile.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
Makefile ntfs: remove unsupported quota handling 2026-06-06 00:20:03 +09:00
malloc.h Revert "fs: Remove NTFS classic" 2026-02-19 21:48:05 +09:00
mft.c ntfs: skip extent mft records in writeback to prevent deadlock 2026-06-06 00:19:47 +09:00
mft.h ntfs: change mft_no type to u64 2026-03-06 22:08:39 +09:00
mst.c ntfs: update mft operations 2026-02-19 21:48:07 +09:00
namei.c Description for this pull request: 2026-06-19 13:23:59 -07:00
ntfs.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
object_id.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
object_id.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
reparse.c ntfs: support creating Windows native symlinks 2026-06-15 19:39:43 +09:00
reparse.h ntfs: support creating Windows native symlinks 2026-06-15 19:39:43 +09:00
runlist.c ntfs: detect mapping-pairs LCN accumulator overflow 2026-06-06 00:20:26 +09:00
runlist.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
super.c ntfs: support creating Windows native symlinks 2026-06-15 19:39:43 +09:00
sysctl.c ntfs: fix sysctl table registration and path 2026-03-01 14:53:37 +09:00
sysctl.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
time.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
unistr.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
upcase.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
volume.h ntfs: support creating Windows native symlinks 2026-06-15 19:39:43 +09:00