fs: add ki_bio_cache pointer to struct kiocb
authorJens Axboe <axboe@kernel.dk>
Tue, 10 Aug 2021 15:29:55 +0000 (09:29 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Aug 2021 19:56:39 +0000 (13:56 -0600)
commitccf0b0eb2cae209e768174c8ee4e56f000fc7ace
tree1ffb79a4ca28b48bb73861aac3edd966ce799ed5
parentdcfd3663dd003c4d072c3d3901df4c35fda8f360
fs: add ki_bio_cache pointer to struct kiocb

This allows an issuer (and owner of a kiocb) to pass in a bio allocation
cache that can be used to improve the efficiency of the churn of repeated
bio allocations and frees.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/fs.h