]> 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)
commit234211b8dd161fa25f192c78d5a8d2dd6bf920a0
tree285ebcbd045a86b001e5195411c70a17b5a7da9a
parent5396fdac56d87d04e75e5068c0c92d33625f51e7
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