diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2022-10-03 12:43:43 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-12-06 11:16:57 +0300 |
commit | 6887fc6495f2dfd55e088c982e983815278ee453 (patch) | |
tree | 852026d9a70e1cddf9f23c67ca1213b2684c9378 /drivers/nvme/host/fc.c | |
parent | 99722c8aa8b994db15ef60965c33f6a8e399b36c (diff) | |
download | linux-6887fc6495f2dfd55e088c982e983815278ee453.tar.xz |
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/fc.c')
-rw-r--r-- | drivers/nvme/host/fc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/fc.c b/drivers/nvme/host/fc.c index aa5fb56c07d9..489f5e797204 100644 --- a/drivers/nvme/host/fc.c +++ b/drivers/nvme/host/fc.c @@ -2733,7 +2733,7 @@ nvme_fc_start_fcp_op(struct nvme_fc_ctrl *ctrl, struct nvme_fc_queue *queue, atomic_set(&op->state, FCPOP_STATE_ACTIVE); if (!(op->flags & FCOP_FLAGS_AEN)) - blk_mq_start_request(op->rq); + nvme_start_request(op->rq); cmdiu->csn = cpu_to_be32(atomic_inc_return(&queue->csn)); ret = ctrl->lport->ops->fcp_io(&ctrl->lport->localport, |