Skip to content
Snippets Groups Projects
user avatar
Jens Axboe authored
There's currently no way to experiment with polled IO with null_blk,
which seems like an oversight. This patch adds support for polled IO.
We keep a list of issued IOs on submit, and then process that list
when mq_ops->poll() is invoked.

A new parameter is added, poll_queues. It defaults to 1 like the
submit queues, meaning we'll have 1 poll queue available.

Fixes-by: default avatarBart Van Assche <bvanassche@acm.org>
Fixes-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/baca710d-0f2a-16e2-60bd-b105b854e0ae@kernel.dk


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
0a593fbb
Name Last commit Last update