diff options
author | Bean Huo <beanhuo@micron.com> | 2022-07-16 00:27:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-21 16:16:03 +0300 |
commit | 706960d328f5bdb1a9cde0b17a98ab84a59eed8e (patch) | |
tree | 6b042444a0231a666765fd93a8e064ff068568e4 /fs | |
parent | 7a4b46784a7b27b5ceb28bc816ea188d6d035dfa (diff) | |
download | linux-706960d328f5bdb1a9cde0b17a98ab84a59eed8e.tar.xz |
nvme: use command_id instead of req->tag in trace_nvme_complete_rq()
[ Upstream commit 679c54f2de672b7d79d02f8c4ad483ff6dd8ce2e ]
Use command_id instead of req->tag in trace_nvme_complete_rq(),
because of commit e7006de6c238 ("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: e7006de6c238 ("nvme: code command_id with a genctr for use authentication after release")
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions