Commit 336c3d8c authored by Elias Oltmanns's avatar Elias Oltmanns Committed by Jens Axboe
Browse files

block: Fix blk_start_queueing() to not kick a stopped queue

blk_start_queueing() should act like the generic queue unplugging
and kicking and ignore a stopped queue. Such a queue may not be
run until after a call to blk_start_queue().
Signed-off-by: default avatarElias Oltmanns <>
Signed-off-by: default avatarJens Axboe <>
parent c0ddffa8
......@@ -890,9 +890,11 @@ EXPORT_SYMBOL(blk_get_request);
void blk_start_queueing(struct request_queue *q)
if (!blk_queue_plugged(q))
if (!blk_queue_plugged(q)) {
if (unlikely(blk_queue_stopped(q)))
} else
Markdown is supported
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