linux-stable/drivers/nvme/host
Martin George 32feb6de47 nvme-fabrics: fix kato initialization
Currently kato is initialized to NVME_DEFAULT_KATO for both
discovery & i/o controllers. This is a problem specifically
for non-persistent discovery controllers since it always ends
up with a non-zero kato value. Fix this by initializing kato
to zero instead, and ensuring various controllers are assigned
appropriate kato values as follows:

non-persistent controllers  - kato set to zero
persistent controllers      - kato set to NVMF_DEV_DISC_TMO
                              (or any positive int via nvme-cli)
i/o controllers             - kato set to NVME_DEFAULT_KATO
                              (or any positive int via nvme-cli)

Signed-off-by: Martin George <marting@netapp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-03-05 13:41:03 +01:00
..
core.c for-5.12/drivers-2021-02-17 2021-02-21 11:06:54 -08:00
fabrics.c nvme-fabrics: fix kato initialization 2021-03-05 13:41:03 +01:00
fabrics.h nvme-fabrics: reject I/O to offline device 2020-12-01 20:36:37 +01:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme: constify static attribute_group structs 2021-02-02 10:26:10 +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 quirks for Lexar 256GB SSD 2021-03-05 13:41:03 +01:00
rdma.c nvme-rdma: handle nvme_rdma_post_send failures better 2021-02-10 16:38:03 +01:00
tcp.c nvme-tcp: fix crash triggered with a dataless request submission 2021-02-11 08:04:51 +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: cleanup zone information initialization 2021-02-10 07:44:40 -07:00