iomap: enable use of bio allocation cache
authorJens Axboe <axboe@kernel.dk>
Tue, 9 Mar 2021 16:25:47 +0000 (09:25 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Jul 2021 20:04:43 +0000 (14:04 -0600)
commit804198612180a65382e20a58b0e3b54d4003c65a
treed0d81d2a021a14b0d62617974ab8c8faecc628c3
parenta3f565749b0874e8837cac8cc2b4ec0dfb250d3c
iomap: 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/iomap/direct-io.c