Thread (2 messages) 2 messages, 2 authors, 2021-07-21

Re: [PATCH] nvme: set the PRACT bit when using Write Zeroes with T10 PI

From: Keith Busch <kbusch@kernel.org>
Date: 2021-07-21 15:10:56

On Wed, Jul 21, 2021 at 10:05:56AM +0200, Christoph Hellwig wrote:
When using Write Zeroes on a namespace that has protection
information enabled they behavior without the PRACT bit
counter-intuitive and will generally lead to validation failures
when reading the written blocks.  Fix this by always setting the
PRACT bit that generates matching PI data on the fly.
Looks good.

Reviewed-by: Keith Busch <kbusch@kernel.org>

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help