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>
Fri, 30 Jul 2021 20:04:43 +0000 (14:04 -0600)
commita3f565749b0874e8837cac8cc2b4ec0dfb250d3c
tree005c41c199980da8e87e17cfbe462571251c946d
parent4082e2788e4fd16fb8bff2dcf646b7c2a1304ff9
block: enable use of bio allocation cache

If a kiocb has ->ki_bi_cache set, then use that to allocate a (and free)
new bio if possible.

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