null_blk: use async queue restart helper
authorJens Axboe <axboe@fb.com>
Mon, 28 Dec 2015 20:02:47 +0000 (13:02 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 28 Dec 2015 20:07:09 +0000 (13:07 -0700)
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: Rabin Vincent <rabin@rab.in>
Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found