]> git.ipfire.org Git - thirdparty/linux.git/commit
iomap: move read/readahead bio submission logic into helper function
authorJoanne Koong <joannelkoong@gmail.com>
Fri, 26 Sep 2025 00:25:57 +0000 (17:25 -0700)
committerChristian Brauner <brauner@kernel.org>
Mon, 20 Oct 2025 18:21:25 +0000 (20:21 +0200)
commit7588469b5ea4b67ece0d725f6c600f0d8791e5cb
treeb1fddfe79ce0fe6599ca5e3ca053ff4f519e2414
parent573c14c8218b408b3fe9f6be058f85d0f586cf26
iomap: move read/readahead bio submission logic into helper function

Move the read/readahead bio submission logic into a separate helper.
This is needed to make iomap read/readahead more generically usable,
especially for filesystems that do not require CONFIG_BLOCK.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Tested-by: syzbot@syzkaller.appspotmail.com
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/buffered-io.c