diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@intel.com> | 2017-09-07 16:05:09 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-10-02 21:42:58 +0200 |
commit | c6839718190d7418aadc858edafb8fb4b67287b0 (patch) | |
tree | 0010af81c4e68e030f2030c67a3a9f171655dd64 /super-intel.c | |
parent | Grow: stop previous reshape process first (diff) | |
download | mdadm-c6839718190d7418aadc858edafb8fb4b67287b0.tar.xz mdadm-c6839718190d7418aadc858edafb8fb4b67287b0.zip |
imsm: New disk controller domains
Add disk controller domain for nvme and vmd devices to prevent moving
spares between different domains.
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'super-intel.c')
-rw-r--r-- | super-intel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/super-intel.c b/super-intel.c index 125c3a98..bbe7bc71 100644 --- a/super-intel.c +++ b/super-intel.c @@ -10749,6 +10749,10 @@ static const char *imsm_get_disk_controller_domain(const char *path) drv = "isci"; else if (hba && hba->type == SYS_DEV_SATA) drv = "ahci"; + else if (hba && hba->type == SYS_DEV_VMD) + drv = "vmd"; + else if (hba && hba->type == SYS_DEV_NVME) + drv = "nvme"; else drv = "unknown"; dprintf("path: %s hba: %s attached: %s\n", |