On 04/01/2017 01:12 AM, Bart Van Assche wrote: > commit 52d7f1b5c2f3 ("blk-mq: Avoid that requeueing starts stopped > queues") removed the blk_mq_stop_hw_queue() call from scsi_queue_rq() > for the BLK_MQ_RQ_QUEUE_BUSY case. blk_mq_start_stopped_hw_queues() > only runs queues that had been stopped. Hence change the > blk_mq_start_stopped_hw_queues() call in scsi_run_queue() into > blk_mq_run_hw_queues(). Remove the blk_mq_start_stopped_hw_queues() > call from scsi_end_request() because __blk_mq_finish_request() > already runs all hardware queues if needed. > > Fixes: commit 52d7f1b5c2f3 ("blk-mq: Avoid that requeueing starts stopped queues") > Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> > Cc: Martin K. Petersen <martin.petersen@xxxxxxxxxx> > Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Cc: Hannes Reinecke <hare@xxxxxxx> > Cc: Sagi Grimberg <sagi@xxxxxxxxxxx> > --- > drivers/scsi/scsi_lib.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)