block: add single bio async direct IO helper
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 23 Oct 2021 16:21:32 +0000 (17:21 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Oct 2021 14:00:48 +0000 (08:00 -0600)
As with __blkdev_direct_IO_simple(), we can implement direct IO more
efficiently if there is only one bio. Add __blkdev_direct_IO_async() and
blkdev_bio_end_io_async(). This patch brings me from 4.45-4.5 MIOPS with
nullblk to 4.7+.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f0ae4109b7a6934adede490f84d188d53b97051b.1635006010.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found