Commit 0d150be
nvme-fc: log human-readable opcode on timeout
The fc transport logs the opcode and fctype on command timeout.
This is sufficient information to identify the command issued,
but not very human-readable. Use the nvme_fabrics_opcode_str()
helper to also log the name of the command, as rdma and tcp already do.
Signed-off-by: Caleb Sander <csander@purestorage.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>1 parent 7d23e83 commit 0d150be
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2574 | 2574 | | |
2575 | 2575 | | |
2576 | 2576 | | |
| 2577 | + | |
2577 | 2578 | | |
2578 | 2579 | | |
2579 | 2580 | | |
| |||
2582 | 2583 | | |
2583 | 2584 | | |
2584 | 2585 | | |
2585 | | - | |
| 2586 | + | |
2586 | 2587 | | |
2587 | | - | |
2588 | | - | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
2589 | 2591 | | |
2590 | 2592 | | |
2591 | 2593 | | |
| |||
0 commit comments