[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq17ddnp9s9.fsf@ca-mkp.ca.oracle.com>
Date: Thu, 04 Nov 2021 23:23:25 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Klaus Jensen <its@...elevant.dk>
Cc: linux-nvme@...ts.infradead.org, Keith Busch <kbusch@...nel.org>,
Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...com>,
Sagi Grimberg <sagi@...mberg.me>, linux-kernel@...r.kernel.org,
Klaus Jensen <k.jensen@...sung.com>
Subject: Re: [PATCH] nvme: fix write zeroes pi
Klaus,
> Write Zeroes sets PRACT when block integrity is enabled (as it
> should), but neglects to also set the reftag which is expected by
> reads. This causes protection errors on reads.
>
> Fix this by setting the reftag for type 1 and 2 (for type 3, reads
> will not check the reftag).
The NVMe spec now clarifies that ILBRT is not inferred for Type 1 so
that looks good to me.
Reviewed-by: Martin K. Petersen <martin.petersen@...cle.com>
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists