linux/drivers/nvme/host
Mikhail Skorzhinskii 958f2a0f81 nvme-tcp: set the STABLE_WRITES flag when data digests are enabled
There was a few false alarms sighted on target side about wrong data
digest while performing high throughput load to XFS filesystem shared
through NVMoF TCP.

This flag tells the rest of the kernel to ensure that the data buffer
does not change while the write is in flight.  It incurs a performance
penalty, so only enable it when it is actually needed, i.e. when we are
calculating data digests.

Although even with this change in place, ext2 users can steel experience
false positives, as ext2 is not respecting this flag. This may be apply
to vfat as well.

Signed-off-by: Mikhail Skorzhinskii <mskorzhinskiy@solarflare.com>
Signed-off-by: Mike Playle <mplayle@solarflare.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2019-07-09 14:18:09 -07:00
..
core.c nvme-tcp: set the STABLE_WRITES flag when data digests are enabled 2019-07-09 14:18:09 -07:00
fabrics.c nvme: introduce nvme_is_fabrics to check fabrics cmd 2019-06-21 11:08:38 +02:00
fabrics.h nvme-fabrics: convert to SPDX identifiers 2019-02-20 07:22:13 -07:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme-fc: add message when creating new association 2019-06-21 11:08:38 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
lightnvm.c block: remove blk_init_request_from_bio 2019-06-20 10:29:22 -06:00
Makefile nvme-tcp: add NVMe over TCP host driver 2018-12-13 09:58:58 +01:00
multipath.c nvme-multipath: do not select namespaces which are about to be removed 2019-07-09 14:18:03 -07:00
nvme.h nvme: set physical block size and optimal I/O size 2019-07-09 14:15:37 -07:00
pci.c nvme-pci: limit max_hw_sectors based on the DMA max mapping size 2019-07-09 13:44:44 -07:00
rdma.c nvme-rdma: use dynamic dma mapping per command 2019-06-06 09:53:19 -07:00
tcp.c nvme-tcp: fix queue mapping when queue count is limited 2019-05-30 11:07:37 -07:00
trace.c nvme-trace: add delete completion and submission queue to admin cmds tracer 2019-07-09 14:15:37 -07:00
trace.h nvme-trace: print result and status in hex format 2019-06-21 11:12:37 +02:00