blk-mq: Do not invoke .queue_rq() for a stopped queue
commit bc27c01b5c46d3bfec42c96537c7a3fae0bb2cc4 upstream.
The meaning of the BLK_MQ_S_STOPPED flag is "do not call
.queue_rq()". Hence modify blk_mq_make_request() such that requests
are queued instead of issued if a queue has been stopped.
Reported-by: Ming Lei <firstname.lastname@example.org>
Signed-off-by: Bart Van Assche <email@example.com>
Reviewed-by: Christoph Hellwig <firstname.lastname@example.org>
Reviewed-by: Ming Lei <email@example.com>
Reviewed-by: Hannes Reinecke <firstname.lastname@example.org>
Reviewed-by: Johannes Thumshirn <email@example.com>
Reviewed-by: Sagi Grimberg <firstname.lastname@example.org>
Signed-off-by: Jens Axboe <email@example.com>
Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
1 file changed