linux_dsm_epyc7002/drivers/nvme/host
Sagi Grimberg 57de5a0a40 nvme-rdma: Fix device removal handling
Device removal sequence may have crashed because the
controller (and admin queue space) was freed before
we destroyed the admin queue resources. Thus we
want to destroy the admin queue and only then queue
controller deletion and wait for it to complete.

More specifically we:
1. own the controller deletion (make sure we are not
   competing with another deletion).
2. get rid of inflight reconnects if exists (which
   also destroy and create queues).
3. destroy the queue.
4. safely queue controller deletion (and wait for it
   to complete).

Reported-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2016-08-03 16:25:07 +03:00
..
core.c Merge branch 'for-4.8/drivers' of git://git.kernel.dk/linux-block 2016-07-26 15:37:51 -07:00
fabrics.c nvme-fabrics: add-remove ctrl repeat fix 2016-07-12 08:32:19 -07:00
fabrics.h nvme-fabrics: Remove tl_retry_count 2016-07-12 08:31:11 -07:00
Kconfig nvme-rdma: add a NVMe over Fabrics RDMA host driver 2016-07-08 08:38:49 -06:00
lightnvm.c block: get rid of bio_rw and READA 2016-07-20 17:37:01 -06:00
Makefile nvme-rdma: add a NVMe over Fabrics RDMA host driver 2016-07-08 08:38:49 -06:00
nvme.h nvme: Limit command retries 2016-07-12 16:20:31 -07:00
pci.c Merge branch 'for-4.8/drivers' of git://git.kernel.dk/linux-block 2016-07-26 15:37:51 -07:00
rdma.c nvme-rdma: Fix device removal handling 2016-08-03 16:25:07 +03:00
scsi.c nvme: move chardev and sysfs interface to common code 2015-12-01 10:59:40 -07:00