summaryrefslogtreecommitdiff
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2013-12-10 13:10:37 -0700
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2014-01-27 19:20:02 -0500
commitd4b4ff8e28b474fac0fbfa9cfc40f88b9e41e380 (patch)
tree356576d531535d11ebcf321f92131e0e4513ee32 /include/linux/nvme.h
parent9a6b94584de1a0467d85b435df9c744c5c45a270 (diff)
downloadkernel-common-d4b4ff8e28b474fac0fbfa9cfc40f88b9e41e380.tar.gz
kernel-common-d4b4ff8e28b474fac0fbfa9cfc40f88b9e41e380.tar.bz2
kernel-common-d4b4ff8e28b474fac0fbfa9cfc40f88b9e41e380.zip
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>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index eed81cc56d7e..117d877e8be5 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -95,6 +95,7 @@ struct nvme_dev {
u32 max_hw_sectors;
u32 stripe_size;
u16 oncs;
+ u8 initialized;
};
/*