summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/rdma.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2022-10-03 12:43:43 +0300
committerChristoph Hellwig <hch@lst.de>2022-12-06 09:16:57 +0100
commit6887fc6495f2dfd55e088c982e983815278ee453 (patch)
tree852026d9a70e1cddf9f23c67ca1213b2684c9378 /drivers/nvme/host/rdma.c
parent99722c8aa8b994db15ef60965c33f6a8e399b36c (diff)
downloadlinux-stable-6887fc6495f2dfd55e088c982e983815278ee453.tar.gz
linux-stable-6887fc6495f2dfd55e088c982e983815278ee453.tar.bz2
linux-stable-6887fc6495f2dfd55e088c982e983815278ee453.zip
nvme: introduce nvme_start_request
In preparation for nvme-multipath IO stats accounting, we want the accounting to happen in a centralized place. The request completion is already centralized, but we need a common helper to request I/O start. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/nvme/host/rdma.c')
-rw-r--r--drivers/nvme/host/rdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index de591cdf78f3..448abf8cdf1f 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -2040,7 +2040,7 @@ static blk_status_t nvme_rdma_queue_rq(struct blk_mq_hw_ctx *hctx,
if (ret)
goto unmap_qe;
- blk_mq_start_request(rq);
+ nvme_start_request(rq);
if (IS_ENABLED(CONFIG_BLK_DEV_INTEGRITY) &&
queue->pi_support &&