linux/drivers/nvme/host
Christoph Hellwig 553cd9ef82 nvme-rdma: reject non-connect commands before the queue is live
If we reconncect we might have command queue up that get resent as soon
as the queue is restarted.  But until the connect command succeeded we
can't send other command.  Add a new flag that marks a queue as live when
connect finishes, and delay any non-connect command until the queue is
live based on it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Steve Wise <swise@opengridcomputing.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
[sagig: fixes admin queue LIVE setting]
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
2016-11-14 02:08:51 +02:00
..
core.c nvme: use symbolic constants for CNS values 2016-10-19 11:36:22 -06:00
fabrics.c Merge branch 'for-4.9/block' of git://git.kernel.dk/linux-block 2016-10-07 14:42:05 -07:00
fabrics.h Merge branch 'for-4.9/block' of git://git.kernel.dk/linux-block 2016-10-07 14:42:05 -07:00
Kconfig nvme-rdma: add back dependency on CONFIG_BLOCK 2016-09-12 22:29:43 +03:00
lightnvm.c lightnvm: invalid offset calculation for lba_shift 2016-11-11 18:27:32 -07:00
Makefile nvme-rdma: add a NVMe over Fabrics RDMA host driver 2016-07-08 08:38:49 -06:00
nvme.h Merge branch 'for-4.9/block-irq' of git://git.kernel.dk/linux-block 2016-10-09 17:29:33 -07:00
pci.c Merge branch 'for-linus' of git://git.kernel.dk/linux-block 2016-10-21 10:54:01 -07:00
rdma.c nvme-rdma: reject non-connect commands before the queue is live 2016-11-14 02:08:51 +02:00
scsi.c nvme: Add tertiary number to NVME_VS 2016-10-19 11:36:22 -06:00