linux/drivers/nvme/host
Keith Busch ebef736857 nvme/pci: Fix stuck nvme reset
The controller state is set to resetting prior to disabling the
controller, so this patch accounts for that state when deciding if it
needs to freeze the queues. Without this, an 'nvme reset /dev/nvme0'
blocks forever because the queues were never frozen.

Fixes: 82b057caef ("nvme-pci: fix multiple ctrl removal scheduling")
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-06-27 17:44:05 -06:00
..
Kconfig nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
Makefile nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
core.c nvme: relax APST default max latency to 100ms 2017-06-07 11:08:55 +02:00
fabrics.c nvme-fabrics: Allow ctrl loss timeout configuration 2017-04-04 09:48:23 -06:00
fabrics.h nvme-fabrics: Allow ctrl loss timeout configuration 2017-04-04 09:48:23 -06:00
fc.c nvme-fc: fix missing put reference on controller create failure 2017-06-07 11:08:53 +02:00
lightnvm.c nvme: lightnvm: fix memory leak 2017-05-10 07:39:43 -06:00
nvme.h nvme: only setup block integrity if supported by the driver 2017-05-26 09:54:23 +03:00
pci.c nvme/pci: Fix stuck nvme reset 2017-06-27 17:44:05 -06:00
rdma.c nvme-rdma: fast fail incoming requests while we reconnect 2017-06-07 11:08:51 +02:00
scsi.c nvme-scsi: remove nvme_trans_security_protocol 2017-04-27 08:39:32 +02:00