1
0
Fork 0

scsi: core: use blk_mq_run_hw_queues in scsi_kick_queue

We don't use blk-mq start/stop hw queue any more, so no reason to use
blk_mq_start_hw_queues which does clear_bit, replace it with
blk_mq_run_hw_queues.

Signed-off-by: Jianchao Wang <jianchao.w.wang@oracle.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
hifive-unleashed-5.1
Jianchao Wang 2018-08-08 14:24:59 +08:00 committed by Martin K. Petersen
parent e7c3b37983
commit 51372570ac
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ void scsi_device_unbusy(struct scsi_device *sdev)
static void scsi_kick_queue(struct request_queue *q)
{
if (q->mq_ops)
blk_mq_start_hw_queues(q);
blk_mq_run_hw_queues(q, false);
else
blk_run_queue(q);
}