diff options
author | Jianchao Wang <jianchao.w.wang@oracle.com> | 2018-08-08 02:24:59 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-08-08 22:02:11 -0400 |
commit | 51372570ac3c919b036e760f4ca449e81cf8e995 (patch) | |
tree | 26b96a2689a2ac24f4a74a4c11dcec146c6fc98b | |
parent | e7c3b37983c4ed038a3b982aa3dafc76dfa86249 (diff) |
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>
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 93cf2ec2d13b..57201d8bdce4 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -372,7 +372,7 @@ void scsi_device_unbusy(struct scsi_device *sdev) | |||
372 | static void scsi_kick_queue(struct request_queue *q) | 372 | static void scsi_kick_queue(struct request_queue *q) |
373 | { | 373 | { |
374 | if (q->mq_ops) | 374 | if (q->mq_ops) |
375 | blk_mq_start_hw_queues(q); | 375 | blk_mq_run_hw_queues(q, false); |
376 | else | 376 | else |
377 | blk_run_queue(q); | 377 | blk_run_queue(q); |
378 | } | 378 | } |