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>
Mon, 23 Aug 2021 19:45:00 +0000 (13:45 -0600)
commit01cfa28af486c9df3775232f10c3dd7ba2e88318
treeb3f85a0c3e53bd0bb8218b952d4f2380e90175ac
parent394918ebb889f99d89db6843bcc93279b2b745f9
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