]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: fix nvme_setup_command metadata trace event
authorKeith Busch <kbusch@kernel.org>
Mon, 19 Jul 2021 16:44:39 +0000 (09:44 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 21 Jul 2021 07:55:44 +0000 (09:55 +0200)
commitbab024358c0c63398900183d9b4874601abe9f3e
tree285ebcbd045a86b001e5195411c70a17b5a7da9a
parent279c8d3626d5a91f6bdb25cc884c5c584911961b
nvme: fix nvme_setup_command metadata trace event

The metadata address is set after the trace event, so the trace is not
capturing anything useful. Rather than logging the memory address, it's
useful to know if the command carries a metadata payload, so change the
trace event to log that true/false state instead.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/trace.h