]> www.infradead.org Git - nvme.git/commit
nvme-fc: log human-readable opcode on timeout
authorCaleb Sander <csander@purestorage.com>
Wed, 31 Jan 2024 16:43:15 +0000 (09:43 -0700)
committerKeith Busch <kbusch@kernel.org>
Thu, 1 Feb 2024 01:00:45 +0000 (17:00 -0800)
commit0d150beff26e636aa07ab889133a0015eaee4227
treefd501d1f936839b21d263dccef186f5b45a4ab85
parent7d23e836b00eec96610141549f59e5902dc55fe8
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>
drivers/nvme/host/fc.c