block: enable use of bio allocation cache
authorJens Axboe <axboe@kernel.dk>
Mon, 8 Mar 2021 18:39:16 +0000 (11:39 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Aug 2021 19:57:19 +0000 (13:57 -0600)
commit0d476bc7ae4a036f9ffc8270db2845a298583f40
tree4aeb7cd7c999bf0d7226ef188631d30fce1baf36
parent5a9c6cc2b3024dfb43cd1e18f286c4d3cbb7f26a
block: enable use of bio allocation cache

If the kiocb passed in has a bio cache specified, then use that to
allocate a (and free) new bio if possible.

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