linux/drivers/nvme/host
Keith Busch 634b832590 nvme: fix nvme reset command timeout handling
We need to return an error if a timeout occurs on any NVMe command during
initialization. Without this, the nvme reset work will be stuck. A timeout
will have a negative error code, meaning we need to stop initializing
the controller. All postitive returns mean the controller is still usable.

bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196325

Signed-off-by: Keith Busch <keith.busch@intel.com>
Cc: Martin Peres <martin.peres@intel.com>
[jth consolidated cleanup path ]
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2017-08-10 19:53:38 +02:00
..
core.c nvme: fix nvme reset command timeout handling 2017-08-10 19:53:38 +02:00
fabrics.c nvme-fabrics: verify that a controller returns the correct NQN 2017-06-28 08:14:13 -06:00
fabrics.h nvme: read the subsystem NQN from Identify Controller 2017-06-28 08:14:13 -06:00
fc.c nvme-fc: revise TRADDR parsing 2017-07-25 18:05:25 +02:00
Kconfig nvme: Remove SCSI translations 2017-06-28 08:14:13 -06:00
lightnvm.c lightnvm: propagate right error code to target 2017-06-26 16:24:53 -06:00
Makefile nvme: Makefile: remove dead build rule 2017-06-29 09:43:23 -06:00
nvme.h nvme: split nvme_uninit_ctrl into stop and uninit 2017-07-06 09:49:42 +03:00
pci.c nvme-pci: fix CMB sysfs file removal in reset path 2017-08-10 11:19:06 +02:00
rdma.c nvme-rdma: unconditionally recycle the request mr 2017-07-06 09:49:43 +03:00