]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: utilize the io batching infrastructure for more efficient polled IO
authorJens Axboe <axboe@kernel.dk>
Tue, 12 Oct 2021 15:28:46 +0000 (09:28 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:40:46 +0000 (14:40 -0600)
commit346476604a5304aa094c6f4870fc08a5e5d259cb
treee8a8c0f3d88d4194576c61993e056075e4029fb6
parent6f52f7c6c807a163540c65df2c234203e5a75085
io_uring: utilize the io batching infrastructure for more efficient polled IO

Wire up using an io_comp_batch for f_op->iopoll(). If the lower stack
supports it, we can handle high rates of polled IO more efficiently.

This raises the single core efficiency on my system from ~6.1M IOPS to
~6.6M IOPS running a random read workload at depth 128 on two gen2
Optane drives.

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