提交 51372570 编写于 作者: J Jianchao Wang 提交者: Martin K. Petersen

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: NJianchao Wang <jianchao.w.wang@oracle.com>
Reviewed-by: NMing Lei <ming.lei@redhat.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 e7c3b379
...@@ -372,7 +372,7 @@ void scsi_device_unbusy(struct scsi_device *sdev) ...@@ -372,7 +372,7 @@ void scsi_device_unbusy(struct scsi_device *sdev)
static void scsi_kick_queue(struct request_queue *q) static void scsi_kick_queue(struct request_queue *q)
{ {
if (q->mq_ops) if (q->mq_ops)
blk_mq_start_hw_queues(q); blk_mq_run_hw_queues(q, false);
else else
blk_run_queue(q); blk_run_queue(q);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册