android_kernel_oneplus_msm8998/drivers/nvme/host
Keith Busch 5571210221 nvme: Fix managing degraded controllers
commit 5bae7f73d378a986 upstream

Upstream is a near rewrite of the async nvme probe that ultimately didn't
even cleanly merge in 4.5. This patch is a much smaller change targeted
to the regression introduced in 4.4.

If a controller is in a degraded mode that needs admin assistence to
recover, we need to leave the controller running. We just want to disable
namespace access without shuting the controller down.

Fixes: 3cf519b5a8d4("nvme: merge nvme_dev_start, nvme_dev_resume and nvme_async_probe")

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-16 20:09:47 +01:00
..
Kconfig
lightnvm.c lightnvm: replace req queue with nvmdev for lld 2015-12-07 09:14:19 -07:00
Makefile lightnvm: Simplify config when disabled 2015-11-29 14:34:57 -07:00
nvme.h nvme: protect against simultaneous shutdown invocations 2017-10-12 11:27:35 +02:00
pci.c nvme: Fix managing degraded controllers 2018-02-16 20:09:47 +01:00
scsi.c