summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJianchao Wang <jianchao.w.wang@oracle.com>2018-08-08 08:24:59 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-08-09 04:02:11 +0200
commit51372570ac3c919b036e760f4ca449e81cf8e995 (patch)
tree26b96a2689a2ac24f4a74a4c11dcec146c6fc98b
parentscsi: ufs: remove unnecessary query(DM) UPIU trace (diff)
downloadlinux-51372570ac3c919b036e760f4ca449e81cf8e995.tar.xz
linux-51372570ac3c919b036e760f4ca449e81cf8e995.zip
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.c2
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)
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);
}