]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: change order of qid and cmdid in completion trace
authorJohannes Thumshirn <jthumshirn@suse.de>
Thu, 26 Apr 2018 20:25:15 +0000 (14:25 -0600)
committerKeith Busch <keith.busch@intel.com>
Thu, 26 Apr 2018 19:30:08 +0000 (13:30 -0600)
commitc449c15a77cb5f58741dcbb72cf44ee6165792cc
treed13b0ea06b9671e8e8ad72a6a77e083d31768e03
parentdaf943952875f2ecee35b2501739ac20ac00ae10
nvme: change order of qid and cmdid in completion trace

Keith reported that command submission and command completion
tracepoints have the order of the cmdid and qid fields swapped.

While it isn't easily possible to change the command submission
tracepoint, as there is a regression test parsing it in blktests we
can swap the command completion tracepoint to have the fields aligned.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reported-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Keith Busch <keith.busch@intel.com>
drivers/nvme/host/trace.h