mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Reviewed-by: Ming Lei <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
parent
e7c3b37983
commit
51372570ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue