Commit 00e757b6 authored by Bean Huo's avatar Bean Huo Committed by Christoph Hellwig

nvme: add nvme_complete_req tracepoint for batched completion

Add NVMe request completion trace in nvme_complete_batch_req() because
nvme:nvme_complete_req tracepoint is missing in case of request batched
completion.
Signed-off-by: default avatarBean Huo <beanhuo@micron.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent b13e0c71
...@@ -368,6 +368,7 @@ EXPORT_SYMBOL_GPL(nvme_complete_rq); ...@@ -368,6 +368,7 @@ EXPORT_SYMBOL_GPL(nvme_complete_rq);
void nvme_complete_batch_req(struct request *req) void nvme_complete_batch_req(struct request *req)
{ {
trace_nvme_complete_rq(req);
nvme_cleanup_cmd(req); nvme_cleanup_cmd(req);
nvme_end_req_zoned(req); nvme_end_req_zoned(req);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment