]> www.infradead.org Git - users/hch/misc.git/commit
iomap: add bioset in iomap_read_folio_ops for filesystems to use own bioset
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Sat, 1 Feb 2025 05:08:17 +0000 (06:08 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2025 09:21:33 +0000 (10:21 +0100)
commitd252e44b4b7c7f8c1b6b57d19473a75e9cd2aaac
treea0f91b25c62f4c7fdcb2334690a6e55cce51acf4
parent13c7465f352b120a9d494089a8031fe56da51c17
iomap: add bioset in iomap_read_folio_ops for filesystems to use own bioset

Allocate the bio from the bioset provided in iomap_read_folio_ops.
If no bioset is provided, fs_bio_set is used which is the standard
bioset for filesystems.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
[hch: factor out two helpers]
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/iomap/buffered-io.c
include/linux/iomap.h