diff options
| author | Keith Busch <keith.busch@intel.com> | 2015-02-12 17:33:00 -0500 |
|---|---|---|
| committer | Keith Busch <keith.busch@intel.com> | 2015-02-19 18:15:36 -0500 |
| commit | 2e1d8448196ba85cd78a18723413a3c92aabe0f3 (patch) | |
| tree | ac1e4f9df21d4eb478c4cf95c5ee3488824a1021 /include/linux | |
| parent | b3fffdefabab266ae5176a136d93b6670b07bb30 (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.h | 1 |
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 { | |||
| 91 | struct device *device; | 91 | struct device *device; |
| 92 | work_func_t reset_workfn; | 92 | work_func_t reset_workfn; |
| 93 | struct work_struct reset_work; | 93 | struct work_struct reset_work; |
| 94 | struct work_struct probe_work; | ||
| 94 | char name[12]; | 95 | char name[12]; |
| 95 | char serial[20]; | 96 | char serial[20]; |
| 96 | char model[40]; | 97 | char model[40]; |
