[PATCH] nvme: Use command_id instead of req->tag in trace_nvme_complete_rq()
Jens Axboe
axboe at kernel.dk
Fri Jul 15 12:51:24 PDT 2022
On 7/15/22 1:48 PM, Bean Huo wrote:
> From: Bean Huo <beanhuo at micron.com>
>
> 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.
Needs a fixes tag.
--
Jens Axboe
More information about the Linux-nvme
mailing list