projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5c1a87
)
nvme-tcp: enhance timeout kernel log
author
Max Gurtovoy
<mgurtovoy@nvidia.com>
Sun, 7 Jan 2024 00:29:50 +0000
(
02:29
+0200)
committer
Keith Busch
<kbusch@kernel.org>
Mon, 8 Jan 2024 18:09:50 +0000
(10:09 -0800)
Print the command_id along side blk-mq's tag to help match commands with
protocol wire traces and logs.
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/tcp.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/tcp.c
b/drivers/nvme/host/tcp.c
index 5056bcae2f3912044955fae785d350a256f6247b..b234f0674aebbd3ddbdacab5f7213e122adb907c 100644
(file)
--- a/
drivers/nvme/host/tcp.c
+++ b/
drivers/nvme/host/tcp.c
@@
-2425,9
+2425,9
@@
static enum blk_eh_timer_return nvme_tcp_timeout(struct request *rq)
int qid = nvme_tcp_queue_id(req->queue);
dev_warn(ctrl->device,
-
"queue %d: timeout cid %#x type %d opcode %#x (%s)
\n",
-
nvme_tcp_queue_id(req->queue), nvme_cid(rq), pdu->hdr.type
,
-
opc, nvme_opcode_str(qid, opc, fctype)
);
+
"I/O tag %d (%04x) type %d opcode %#x (%s) QID %d timeout
\n",
+
rq->tag, nvme_cid(rq), pdu->hdr.type, opc
,
+
nvme_opcode_str(qid, opc, fctype), qid
);
if (ctrl->state != NVME_CTRL_LIVE) {
/*