Skip to contentSkip to conversation

imsm: New disk controller domains

PATCH Applied Mariusz Tkaczyk 2 participants 2 messages Sep 7, 2017 – Oct 2, 2017 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imsm: New disk controller domains

Add disk controller domain for nvme and vmd devices to prevent moving spares between different domains.

---
 super-intel.c | 4 ++++
 1 file changed, 4 insertions(+)
super-intel.c +4 -0
index 125c3a9..bbe7bc7 100644
@@ -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",
Signature · 1 line
1.8.3.1
Applied
#1 lore raw
Quoted 7 lines · Mariusz Tkaczyk

Add disk controller domain for nvme and vmd devices to prevent moving spares between different domains.

---
  super-intel.c | 4 ++++
  1 file changed, 4 insertions(+)

Applied!

Thanks,
Jes