nvme-pci: enhance timeout kernel log
authorKeith Busch <kbusch@kernel.org>
Wed, 6 Dec 2023 18:48:30 +0000 (10:48 -0800)
committerKeith Busch <kbusch@kernel.org>
Mon, 8 Jan 2024 18:09:29 +0000 (10:09 -0800)
commit172fb49600c2b96a4ade255fbfc3fe7098b8afd3
tree180dd0dd50c68cdd329bcddbdce52449b88fc6e3
parenta7de1dea76cd6a3707707af4ea2f8bc3cdeaeb11
nvme-pci: enhance timeout kernel log

Kernel configs don't necessarily have opcode decoding, and some opcodes
are not even decodable. It is still interesting for debugging SSD issues
to know what opcode is timing out, what request type it came from, and
the data size (if applicable).

Also print the command_id along side blk-mq's tag to help match commands
with protocol wire traces and firmware logs,

Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/pci.c