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)
commitcde6bf4f440631b2735be83c39426f4f469b0b21
treed13b0ea06b9671e8e8ad72a6a77e083d31768e03
parent4fb135ad154060bf289ccf35734e3d3b6e5029a7
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