projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cda5fd1
)
nvme-fc: use blk_mq_delay_run_hw_queue instead of open-coding it
author
Sagi Grimberg
<sagi@grimberg.me>
Tue, 4 Jul 2017 07:18:50 +0000
(10:18 +0300)
committer
Sagi Grimberg
<sagi@grimberg.me>
Tue, 4 Jul 2017 07:44:46 +0000
(10:44 +0300)
Cc: James Smart <james.smart@broadcom.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/fc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/fc.c
b/drivers/nvme/host/fc.c
index 1e859ee2b56530c9aacff37d47112a18d911fba9..50cc3b2b0e118c016ad7db666fecf843904238b5 100644
(file)
--- a/
drivers/nvme/host/fc.c
+++ b/
drivers/nvme/host/fc.c
@@
-1966,10
+1966,9
@@
nvme_fc_start_fcp_op(struct nvme_fc_ctrl *ctrl, struct nvme_fc_queue *queue,
if (ret != -EBUSY)
return BLK_STS_IOERR;
- if (op->rq) {
- blk_mq_stop_hw_queues(op->rq->q);
- blk_mq_delay_queue(queue->hctx, NVMEFC_QUEUE_DELAY);
- }
+ if (op->rq)
+ blk_mq_delay_run_hw_queue(queue->hctx, NVMEFC_QUEUE_DELAY);
+
return BLK_STS_RESOURCE;
}