linux/drivers/nvme/host
Sagi Grimberg c4c6df5fc8 nvme-rdma: fix possible hang when failing to set io queues
We only setup io queues for nvme controllers, and it makes absolutely no
sense to allow a controller (re)connect without any I/O queues.  If we
happen to fail setting the queue count for any reason, we should not allow
this to be a successful reconnect as I/O has no chance in going through.
Instead just fail and schedule another reconnect.

Reported-by: Chao Leng <lengchao@huawei.com>
Fixes: 7110230719 ("nvme-rdma: add a NVMe over Fabrics RDMA host driver")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chao Leng <lengchao@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-03-18 05:39:01 +01:00
..
Kconfig nvme-tcp: fix kconfig dependency warning when !CRYPTO 2020-09-15 07:58:49 +02:00
Makefile nvme: support for zoned namespaces 2020-07-08 16:16:20 +02: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
lightnvm.c nvme: use bio_set_dev to assign ->bi_bdev 2021-01-26 08:50:01 -07: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-rdma: fix possible hang when failing to set io queues 2021-03-18 05:39:01 +01:00
tcp.c nvme-tcp: fix possible hang when failing to set io queues 2021-03-18 05:39:01 +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