linux-stable/drivers/nvme/host
Klaus Jensen 00b33cf3da 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>
2021-11-23 17:22:41 +01:00
..
Kconfig nvme: Have NVME_FABRICS select NVME_CORE instead of transport drivers 2021-08-16 21:03:18 +02:00
Makefile remove the lightnvm subsystem 2021-08-14 15:54:09 -06:00
core.c nvme: fix write zeroes pi 2021-11-23 17:22:41 +01:00
fabrics.c nvme-fabrics: ignore invalid fast_io_fail_tmo values 2021-11-23 17:22:41 +01:00
fabrics.h nvme: display correct subsystem NQN 2021-10-20 19:16:02 +02:00
fault_inject.c
fc.c for-5.16/drivers-2021-10-29 2021-11-01 09:27:38 -07:00
fc.h
hwmon.c nvme-hwmon: Return error code when registration fails 2021-03-05 13:41:03 +01:00
ioctl.c remove the lightnvm subsystem 2021-08-14 15:54:09 -06:00
multipath.c nvmet: use flex_array_size and struct_size 2021-10-27 08:06:41 +02:00
nvme.h for-5.16/drivers-2021-10-29 2021-11-01 09:27:38 -07:00
pci.c for-5.16/drivers-2021-10-29 2021-11-01 09:27:38 -07:00
rdma.c for-5.16/drivers-2021-10-29 2021-11-01 09:27:38 -07:00
tcp.c nvme-tcp: fix memory leak when freeing a queue 2021-11-23 17:22:41 +01:00
trace.c nvme: add set feature tracing support 2021-08-16 14:42:23 +02:00
trace.h nvme: fix nvme_setup_command metadata trace event 2021-07-21 09:55:44 +02:00
zns.c nvme: move command clear into the various setup helpers 2021-10-19 12:40:51 -06:00