OSDN Git Service

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)
commit3cec7f9de448131778a1428100621fd371db75f4
treea47352409ae7095580717f6762736fe903f46c6b
parent96e24801056467c6483f68ef71d642fb925c3100
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