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/apple.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/apple.c')
-rw-r--r-- | drivers/nvme/host/apple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/apple.c b/drivers/nvme/host/apple.c index cab69516af5b..94ef797e8b4a 100644 --- a/drivers/nvme/host/apple.c +++ b/drivers/nvme/host/apple.c @@ -763,7 +763,7 @@ static blk_status_t apple_nvme_queue_rq(struct blk_mq_hw_ctx *hctx, goto out_free_cmd; } - blk_mq_start_request(req); + nvme_start_request(req); apple_nvme_submit_cmd(q, cmnd); return BLK_STS_OK; |