summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2015-02-12 15:33:00 -0700
committerKeith Busch <keith.busch@intel.com>2015-02-19 16:15:36 -0700
commit2e1d8448196ba85cd78a18723413a3c92aabe0f3 (patch)
treeac1e4f9df21d4eb478c4cf95c5ee3488824a1021 /include/linux
parentb3fffdefabab266ae5176a136d93b6670b07bb30 (diff)
NVMe: Asynchronous controller probe
This performs the longest parts of nvme device probe in scheduled work. This speeds up probe significantly when multiple devices are in use. Signed-off-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'include/linux')
-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 383d495c5e4c..e2429e8cdab4 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -91,6 +91,7 @@ struct nvme_dev {
struct device *device;
work_func_t reset_workfn;
struct work_struct reset_work;
+ struct work_struct probe_work;
char name[12];
char serial[20];
char model[40];