]> 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)
commit6b9b2825141b13f94d7a456c8532e1825d86b523
tree285ebcbd045a86b001e5195411c70a17b5a7da9a
parent92621ff6c9cd70fb679964f0df594c04662abed6
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