]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iomap: refactor iomap_bio_read_folio_range
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Feb 2026 13:20:08 +0000 (05:20 -0800)
committerChristian Brauner <brauner@kernel.org>
Tue, 10 Mar 2026 09:29:03 +0000 (10:29 +0100)
commit2580a0095fdc6c1cc632802c5f8ac226e7738d88
tree0cee06637df19ec088bfc2da66efd4c5018220a5
parent969ebebc30fff0b9756130e3b4f6f3036e7c53ab
iomap: refactor iomap_bio_read_folio_range

Split out the logic to allocate a new bio and only keep the fast path
that adds more data to an existing bio in iomap_bio_read_folio_range.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260223132021.292832-9-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>
fs/iomap/bio.c