2022-07-15 20:00:27

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] nvme: Use command_id instead of req->tag in trace_nvme_complete_rq()

On 7/15/22 1:48 PM, Bean Huo wrote:
> From: Bean Huo <[email protected]>
>
> 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