linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* nvme host complete request tracing
@ 2023-05-17 16:27 Engel, Amit
  2023-05-18  9:18 ` Sagi Grimberg
  0 siblings, 1 reply; 6+ messages in thread
From: Engel, Amit @ 2023-05-17 16:27 UTC (permalink / raw)
  To: linux-nvme; +Cc: Engel, Amit

Hello,

nvme/host/core.c trace_nvme_complete_rq() is being called immediately when entering nvme_complete_rq()
As I understand it, the idea behind this trace is to trace every single nvme request that is being completed.
but this is actually not accurate since there are several options for a request as part of this function:
COMPLETE, RETRY, FAILOVER

In order to better understand the status per nvme request I think it’s better to have a separate trace per each case, something like:
trace_nvme_end_rq(req), trace_nvme_retry_rq(req), trace_nvme_failover_rq(req) etc.

Would love to hear your inputs.

Thanks,
Amit E


Internal Use - Confidential

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-22  6:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 16:27 nvme host complete request tracing Engel, Amit
2023-05-18  9:18 ` Sagi Grimberg
2023-05-19  8:59   ` Chaitanya Kulkarni
2023-05-19  9:18     ` Engel, Amit
2023-05-22  5:52       ` Chaitanya Kulkarni
2023-05-22  6:28         ` Sagi Grimberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).