]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: Don't disable on timeout in reset state
authorKeith Busch <keith.busch@intel.com>
Tue, 14 May 2019 20:10:41 +0000 (14:10 -0600)
committerKeith Busch <keith.busch@intel.com>
Fri, 17 May 2019 17:03:00 +0000 (11:03 -0600)
commit3a64bf2d481f69c3fd8ec337a4ce06ee1106b49b
treebedcac39016bd78bb52bc03fe60e6e2f76e7a75f
parent92f8ab9749a2a42426e5c31b5dc1ab9672fd6379
nvme-pci: Don't disable on timeout in reset state

The reset state doesn't dispatch commands that it needs to wait for
anymore. If a timeout occurs in this state, the reset work is already
disabling the controller, so just reset the request's timer.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
drivers/nvme/host/pci.c