block: enable use of bio allocation cache io_uring-bio-cache.4
authorJens Axboe <axboe@kernel.dk>
Mon, 8 Mar 2021 18:39:16 +0000 (11:39 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Aug 2021 22:37:11 +0000 (16:37 -0600)
commit8e5c1e2d15417eaa9fd811251dcd3078afa34fbb
tree4525548f6391fc546c56a8982a37d5c7658c6693
parent4556bce1ee76bbdeca47e1da63d149a91bc3af26
block: enable use of bio allocation cache

Initialize the bio_set used for IO with per-cpu bio caching enabled,
and use the new bio_alloc_kiocb() helper to dip into that cache.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c