summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2021-11-10 12:19:06 +0300
committerChristoph Hellwig <hch@lst.de>2021-11-23 19:22:41 +0300
commit00b33cf3da726757aef636365bb52e9536434e9a (patch)
tree07f2f8b1eb2b571e699e45771c3540d83cbeb6a7 /drivers/scsi
parent8e8aaf512a91ae44d40647a88b51326c7b0a70a8 (diff)
downloadlinux-00b33cf3da726757aef636365bb52e9536434e9a.tar.xz
nvme: fix write zeroes pi
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). Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions