Skip to content
Commit 706960d3 authored by Bean Huo's avatar Bean Huo Committed by Greg Kroah-Hartman
Browse files

nvme: use command_id instead of req->tag in trace_nvme_complete_rq()

[ Upstream commit 679c54f2 ]

Use command_id instead of req->tag in trace_nvme_complete_rq(),
because of commit e7006de6 ("nvme: code command_id with a genctr
for use authentication after release"), cmd->common.command_id is set to
((genctl & 0xf)< 12 | req->tag), no longer req->tag, which makes cid in
trace_nvme_complete_rq and trace_nvme_setup_cmd are not the same.

Fixes: e7006de6

 ("nvme: code command_id with a genctr for use authentication after release")
Signed-off-by: default avatarBean Huo <beanhuo@micron.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7a4b4678
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment