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

From: Jens Axboe
Date: Fri Jul 15 2022 - 15:51:31 EST

On 7/15/22 1:48 PM, Bean Huo wrote:
> From: Bean Huo <beanhuo@xxxxxxxxxx>
> 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