linux/drivers/nvme/host
Christoph Hellwig b94e8cd2e6 nvme: fix Write Zeroes limitations
We voluntarily limit the Write Zeroes sizes to the MDTS value provided by
the hardware, but currently get the units wrong, so fix that.

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>
Tested-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
2021-03-18 05:38:49 +01:00
..
core.c nvme: fix Write Zeroes limitations 2021-03-18 05:38:49 +01:00
fabrics.c nvme-fabrics: fix kato initialization 2021-03-05 13:41:03 +01:00
fabrics.h nvme-fabrics: only reserve a single tag 2021-03-18 05:38:48 +01:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme-fabrics: only reserve a single tag 2021-03-18 05:38:48 +01:00
fc.h nvme-fc: Update header and host for common definitions for LS handling 2020-05-09 16:18:33 -06:00
hwmon.c nvme-hwmon: Return error code when registration fails 2021-03-05 13:41:03 +01:00
Kconfig nvme-tcp: fix kconfig dependency warning when !CRYPTO 2020-09-15 07:58:49 +02:00
lightnvm.c nvme: use bio_set_dev to assign ->bi_bdev 2021-01-26 08:50:01 -07:00
Makefile nvme: support for zoned namespaces 2020-07-08 16:16:20 +02:00
multipath.c for-5.12/drivers-2021-02-17 2021-02-21 11:06:54 -08:00
nvme.h nvme: add 48-bit DMA address quirk for Amazon NVMe controllers 2021-02-10 16:38:06 +01:00
pci.c nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a 2021-03-11 11:48:54 +01:00
rdma.c nvme-fabrics: only reserve a single tag 2021-03-18 05:38:48 +01:00
tcp.c nvme-fabrics: only reserve a single tag 2021-03-18 05:38:48 +01:00
trace.c nvme: add tracing of zns commands 2021-02-02 10:26:12 +01:00
trace.h nvme-trace: print result and status in hex format 2019-06-21 11:12:37 +02:00
zns.c nvme: set max_zone_append_sectors nvme_revalidate_zones 2021-03-11 11:48:34 +01:00