Skip to contentSkip to conversation

multipath_tools: Add IBM Virtual SCSI ALUA device type to hwtable

PATCH New Brian King 1 participant 1 message Mar 26, 2010 Device mapper

lore
Share & tools
lore

Brian King

author
#0 lore raw

PATCH 1/1 multipath_tools: Add IBM Virtual SCSI ALUA device type to hwtable

Add entry to the hwtable for IBM Power Virtual SCSI ALUA devices

---

 libmultipath/hwtable.c |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)
libmultipath/hwtable.c renamed from libmultipath/hwtable.c~mpath_nvdisk +17 -0
diff -puN libmultipath/hwtable.c~mpath_nvdisk libmultipath/hwtable.c
@@ -703,6 +703,23 @@ static struct hwentry default_hw[] = {
 		.prio_name     = DEFAULT_PRIO,
 	},
 	{
+		/* AIX NVDISK */
+		.vendor        = "AIX",
+		.product       = "NVDISK",
+		.getuid        = DEFAULT_GETUID,
+		.features      = DEFAULT_FEATURES,
+		.hwhandler     = "1 alua",
+		.selector      = DEFAULT_SELECTOR,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = (300 / DEFAULT_CHECKINT),
+		.minio         = DEFAULT_MINIO,
+		.checker_name  = TUR,
+		.prio_name     = PRIO_ALUA,
+	},
+
+	{
 		/* DELL MD3000 */
 		.vendor        = "DELL",
 		.product       = "MD3000",

_