diff mbox

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

Message ID 201002161944.o1GJirOk014950@d01av01.pok.ibm.com (mailing list archive)
State Accepted, archived
Delegated to: christophe varoqui
Headers show

Commit Message

Brian King Feb. 16, 2010, 7:44 p.m. UTC
None
diff mbox

Patch

diff -puN libmultipath/hwtable.c~mpath_nvdisk libmultipath/hwtable.c
--- multipath-tools/libmultipath/hwtable.c~mpath_nvdisk	2010-02-16 13:42:42.000000000 -0600
+++ multipath-tools-bjking1/libmultipath/hwtable.c	2010-02-16 13:42:42.000000000 -0600
@@ -673,6 +673,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",