nvme: Restart request timers in resetting state
authorKeith Busch <kbusch@kernel.org>
Thu, 5 Sep 2019 14:09:33 +0000 (08:09 -0600)
committerKeith Busch <kbusch@kernel.org>
Mon, 14 Oct 2019 14:21:49 +0000 (23:21 +0900)
commit92b98e88d59ab17e65f261fbb5db272143ccf414
treeda1fb095aa9298575522863d8c0832eb901d3e75
parent5d02a5c1d6e14534ca4729b055c89a2cd022ca00
nvme: Restart request timers in resetting state

A controller in the resetting state has not yet completed its recovery
actions. The pci and fc transports were already handling this, so update
the remaining transports to not attempt additional recovery in this
state. Instead, just restart the request timer.

Tested-by: Edmund Nadolski <edmund.nadolski@intel.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/rdma.c
drivers/nvme/host/tcp.c