]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iomap: add a bioset pointer to iomap_read_folio_ops
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Feb 2026 13:20:13 +0000 (05:20 -0800)
committerChristian Brauner <brauner@kernel.org>
Tue, 10 Mar 2026 09:29:03 +0000 (10:29 +0100)
commit57287771fa8d77841149bf847b629f29acbad35b
treeb0e6135b94098a539a4f33ec815281724c69ee56
parent6810365c0d1b31e53777d993e61d7fdd3f5f4af5
iomap: add a bioset pointer to iomap_read_folio_ops

Optionally allocate the bio from the bioset provided in
iomap_read_folio_ops.  If no bioset is provided, fs_bio_set is still
used, which is the standard bioset for file systems.

Based on a patch from Goldwyn Rodrigues <rgoldwyn@suse.com>.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260223132021.292832-14-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
include/linux/iomap.h