]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: allow controller RESETTING to RECONNECTING transition
authorJames Smart <jsmart2021@gmail.com>
Wed, 25 Oct 2017 23:43:13 +0000 (16:43 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 Nov 2017 15:34:40 +0000 (16:34 +0100)
commit3fa5e8fc4232b0dec4f6809f87ec1386aab1c837
treea47352409ae7095580717f6762736fe903f46c6b
parent912bef31d32085c805391efda379070f12547fda
nvme: allow controller RESETTING to RECONNECTING transition

Transport will typically transition from LIVE to RESETTING when initially
performing a reset or recovering from an error.  Adding this transition
allows a transport to transition to RECONNECTING when it checks/waits for
connectivity then creates new transport connections and reinits the
controller.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c