[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] PATCH to Add Pivot3 to multipath-tools



Hello,

I have put together a patch, which adds Pivot3 RAIGE support to multipath-tools.

Could you please apply.

Thanks,

Bart

_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
diff -Naurp multipath-tools-0.4.8-orig/libmultipath/hwtable.c multipath-tools-0.4.8/libmultipath/hwtable.c
--- multipath-tools-0.4.8-orig/libmultipath/hwtable.c	2007-10-12 18:20:30.000000000 -0400
+++ multipath-tools-0.4.8/libmultipath/hwtable.c	2007-10-12 19:54:08.000000000 -0400
@@ -590,6 +590,27 @@ static struct hwentry default_hw[] = {
 		.minio         = DEFAULT_MINIO,
 		.checker_name  = READSECTOR0,
 	},
+ 	/*
+	 * Pivot3 RAIGE
+	 *
+	 * Maintainer : Bart Brooks, Pivot3
+	 * Mail : bartb pivot3 com
+	 */
+	{
+		.vendor        = "PIVOT3",
+		.product       = "RAIGE VOLUME",
+		.getuid        = "/sbin/scsi_id-p3 -p 0x80 -g -u -s /block/%n",
+		.getprio       = NULL,
+		.features      = "1 queue_if_no_path",
+		.hwhandler     = DEFAULT_HWHANDLER,
+		.selector      = DEFAULT_SELECTOR,
+		.pgpolicy      = MULTIBUS,
+		.pgfailback    = FAILBACK_UNDEF,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = NO_PATH_RETRY_UNDEF,
+		.minio         = 100,
+		.checker_name  = TUR,
+	},
 	/*
 	 * EOL
 	 */
diff -Naurp multipath-tools-0.4.8-orig/multipath.conf.synthetic multipath-tools-0.4.8/multipath.conf.synthetic
--- multipath-tools-0.4.8-orig/multipath.conf.synthetic	2007-10-12 18:20:30.000000000 -0400
+++ multipath-tools-0.4.8/multipath.conf.synthetic	2007-10-12 19:46:55.000000000 -0400
@@ -67,4 +67,16 @@
 #		product			"MSA1000         "
 #		path_grouping_policy	multibus
 #	}
+#	device {
+#		# Pivot3 RAIGE  array
+#		vendor			"PIVOT3"
+#		product			"RAIGE VOLUME"
+#		path_grouping_policy	multibus
+#		getuid_callout          "/sbin/scsi_id-p3 -p 0x80 -g -u -s /block/%n"
+#		path_checker		tur
+#		path_selector		"round-robin 0"
+#		hardware_handler	"1 pivot3"
+#		failback		immediate
+#		rr_min_io		100
+#	}
 #}

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]