Skip to content
Commit 48cc661e authored by Jens Axboe's avatar Jens Axboe
Browse files

null_blk: use async queue restart helper



If null_blk is run in NULL_IRQ_TIMER mode and with queue_mode NULL_Q_RQ,
we need to restart the queue from the hrtimer interrupt. We can't
directly invoke the request_fn from that context, so punt the queue run
to async kblockd context.

Tested-by: default avatarRabin Vincent <rabin@rab.in>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 21491412
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment