blk-mq: Introduce blk_mq_delay_run_hw_queue()

Introduce a function that runs a hardware queue unconditionally
after a delay. Note: there is already a function that stops and
restarts a hardware queue after a delay, namely blk_mq_delay_queue().

This function will be used in the next patch in this series.

Signed-off-by: Bart Van Assche <>
Cc: Christoph Hellwig <>
Cc: Hannes Reinecke <>
Cc: Long Li <>
Cc: K. Y. Srinivasan <>
Signed-off-by: Jens Axboe <>
2 files changed