block: use the percpu bio cache in __blkdev_direct_IO
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Aug 2021 15:05:52 +0000 (09:05 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 Aug 2021 17:27:02 +0000 (11:27 -0600)
commit7f07c4f1eee2c850a29f2d8a44528865b4fd86fe
tree7dce2d6091e685b8d3e46a7d3bf85a62a13a4a99
parentb5256809c70c6db3ac514706de979248186147cd
block: use the percpu bio cache in __blkdev_direct_IO

Use bio_alloc_kiocb to dip into the percpu cache of bios when the
caller asks for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c