Files
linux/drivers
Christoph Hellwig aaeb7bb061 nvme: set the PRACT bit when using Write Zeroes with T10 PI
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.

Fixes: 6e02318eae ("nvme: add support for the Write Zeroes command")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-07-21 17:24:10 +02:00
..
2021-06-24 18:49:01 -06:00
2021-04-18 09:36:56 +03:00
2021-06-30 15:34:19 -06:00
2021-06-29 10:53:48 -07:00
2021-06-30 15:34:04 -06:00
2021-06-01 16:44:09 +01:00
2021-06-30 15:34:19 -06:00
2021-06-30 15:34:19 -06:00
2021-06-16 08:53:58 -06:00