]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/nvme/host/pci.c
NVMe: Schedule reset for failed controllers
authorKeith Busch <keith.busch@intel.com>
Tue, 10 Dec 2013 20:10:37 +0000 (13:10 -0700)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 28 Jan 2014 00:20:02 +0000 (19:20 -0500)
commitd4b4ff8e28b474fac0fbfa9cfc40f88b9e41e380
tree356576d531535d11ebcf321f92131e0e4513ee32
parent9a6b94584de1a0467d85b435df9c744c5c45a270
NVMe: Schedule reset for failed controllers

Schedules a controller reset when it indicates it has a failed status. If
the device does not become ready after a reset, the pci device will be
scheduled for removal.

Signed-off-by: Keith Busch <keith.busch@intel.com>
[fixed checkpatch issue]
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme-core.c
include/linux/nvme.h