linux/drivers/nvme/host
James Smart 44c6ec77e1 nvme-fc: change ctlr state assignments during reset/reconnect
Clean up some of the controller state checks and add the
RESETTING->RECONNECTING state transition.

Specifically:
- the movement of the RESETTING state change and schedule of reset_work
  to core doesn't work wiht nvme_fc_error_recovery setting state to
  RECONNECTING before attempting to reset.  Remove the state change as
  the reset request does it.
- In the rare cases where an error occurs right as we're transitioning
  to LIVE, defer the controller start actions.
- In error handling on teardown of associations while performing initial
  controller creation - avoid quiesce calls on the admin_q.  They are
  unneeded.
- Add the RESETTING->RECONNECTING transition in the reset handler.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2017-11-01 16:28:23 +01:00
..
core.c nvme: flush reset_work before safely continuing with delete operation 2017-11-01 16:28:17 +01:00
fabrics.c nvme: move controller deletion to common code 2017-11-01 16:28:04 +01:00
fabrics.h nvme: add helper to compare options to controller 2017-10-27 09:25:28 +03:00
fc.c nvme-fc: change ctlr state assignments during reset/reconnect 2017-11-01 16:28:23 +01:00
Kconfig nvme: Remove SCSI translations 2017-06-28 08:14:13 -06:00
lightnvm.c nvme: fix lightnvm check 2017-09-11 12:29:36 -04:00
Makefile nvme: Makefile: remove dead build rule 2017-06-29 09:43:23 -06:00
nvme.h nvme: move controller deletion to common code 2017-11-01 16:28:04 +01:00
pci.c nvme: switch controller refcounting to use struct device 2017-10-27 09:04:07 +03:00
rdma.c nvme-rdma: reuse nvme_delete_ctrl when reconnect attempts expire 2017-11-01 16:28:07 +01:00