]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iomap: add a separate bio_set for iomap_split_ioend
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Jun 2026 12:52:29 +0000 (14:52 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 31 Jul 2026 09:49:09 +0000 (11:49 +0200)
commitc679ce3be6cb63763d68ab9b5d9d73ddc0a40762
treec6d04b5e6621dd16bb1f3c957976c3d6c97c1ae5
parentb8206f516fe7cbe785cf44bf09c17c438d7c3cad
iomap: add a separate bio_set for iomap_split_ioend

iomap_split_ioend can split bios that already come from
iomap_ioend_bioset and thus deadlock when the bioset is exhausted.

Add a separate bio_set to avoid this deadlock.

Christian Brauner <brauner@kernel.org> says:
Mark iomap_ioend_split_bioset static as it is only used in ioend.c,
fixing the sparse warning reported by the kernel test robot.

Fixes: 5fcbd555d483 ("iomap: split bios to zone append limits in the submission handlers")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260629125229.3400726-1-hch@lst.de
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
fs/iomap/ioend.c