[dm-devel] [PATCH 1/1] multipath_tools: Add IBM Virtual SCSI ALUA device type to hwtable

Brian King brking at linux.vnet.ibm.com
Tue Feb 16 19:44:59 UTC 2010


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

Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
---

 libmultipath/hwtable.c |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

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",
_




More information about the dm-devel mailing list