diff mbox

[1/1] multipath_tools: Fixup IBM Virtual SCSI hwtable entries

Message ID 201005192026.o4JKQQmP009575@d03av02.boulder.ibm.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Brian King May 19, 2010, 8:26 p.m. UTC
None
diff mbox

Patch

diff -puN libmultipath/hwtable.c~mpath_nxtgen libmultipath/hwtable.c
--- multipath-tools/libmultipath/hwtable.c~mpath_nxtgen	2010-04-12 16:27:00.000000000 -0500
+++ multipath-tools-bjking1/libmultipath/hwtable.c	2010-05-12 12:40:54.000000000 -0500
@@ -703,20 +703,20 @@  static struct hwentry default_hw[] = {
 		.prio_name     = DEFAULT_PRIO,
 	},
 	{
-		/* AIX NVDISK */
-		.vendor        = "AIX",
-		.product       = "NVDISK",
+		/* IBM 3303      NVDISK */
+		.vendor        = "IBM",
+		.product       = "3303      NVDISK",
 		.getuid        = DEFAULT_GETUID,
 		.features      = DEFAULT_FEATURES,
-		.hwhandler     = "1 alua",
+		.hwhandler     = DEFAULT_HWHANDLER,
 		.selector      = DEFAULT_SELECTOR,
-		.pgpolicy      = GROUP_BY_PRIO,
+		.pgpolicy      = FAILOVER,
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.rr_weight     = RR_WEIGHT_NONE,
 		.no_path_retry = (300 / DEFAULT_CHECKINT),
 		.minio         = DEFAULT_MINIO,
 		.checker_name  = TUR,
-		.prio_name     = PRIO_ALUA,
+		.prio_name     = DEFAULT_PRIO,
 	},
 
 	{