diff mbox

multipath-tools ./multipath.conf.defaults libm ...

Message ID 20091202191529.21773.qmail@sourceware.org (mailing list archive)
State New, archived
Headers show

Commit Message

bmarzins@sourceware.org Dec. 2, 2009, 7:15 p.m. UTC
None
diff mbox

Patch

--- multipath-tools/multipath.conf.defaults	2009/09/28 18:41:20	1.5.4.17
+++ multipath-tools/multipath.conf.defaults	2009/12/02 19:15:28	1.5.4.18
@@ -187,15 +187,44 @@ 
 #		path_checker		emc_clariion
 #	}
 #	device {
+#		vendor			"(LSI|ENGENIO)"
+#		product			"INF.*"
+#		getuid_callout		"/sbin/scsi_id -g -u -s /block/%n"
+#		prio_callout		"/sbin/mpath_prio_rdac /dev/%n"
+#		features		"2 pg_init_retries 50"
+#		hardware_handler	"1 rdac"
+#               path_grouping_policy    group_by_prio
+#		failback		immediate
+#		rr_weight		uniform
+#		no_path_retry		15
+#		rr_min_io		1000
+#               path_checker            rdac
+#	}
+#	device {
 #		vendor                  "DELL"
-#               product                 "MD3000"
+#               product                 "MD3000|MD3000i"
 #		getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"
 #               prio_callout            "/sbin/mpath_prio_rdac /dev/%n"	
-#		features		"0"
+#		features		"2 pg_init_retries 50"
+#               hardware_handler        "1 rdac"
+#		path_grouping_policy	group_by_prio
+#               failback                immediate
+#		no_path_retry		15
+#		rr_min_io		1000
+#               path_checker            rdac
+#       }
+#	device {
+#		vendor                  "DELL"
+#               product                 "MD32xx|MD32xxi"
+#		getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"
+#               prio_callout            "/sbin/mpath_prio_rdac /dev/%n"
+#		features		"2 pg_init_retries 50"
 #               hardware_handler        "1 rdac"
 #		path_grouping_policy	group_by_prio
-#               failback                manual
-#               path_checker            readsector0
+#               failback                immediate
+#		no_path_retry		15
+#		rr_min_io		1000
+#               path_checker            rdac
 #       }
 #       device {
 #               vendor                  "EMC"
@@ -284,6 +313,20 @@ 
 #		rr_min_io		1000
 #               path_checker            rdac
 #	}
+#	device {
+#		vendor			"IBM"
+#		product			"1745|1746"
+#		getuid_callout		"/sbin/scsi_id -g -u -s /block/%n"
+#		prio_callout		"/sbin/mpath_prio_rdac /dev/%n"
+#		features		"2 pg_init_retries 50"
+#		hardware_handler	"1 rdac"
+#               path_grouping_policy    group_by_prio
+#		failback		immediate
+#		rr_weight		uniform
+#		no_path_retry		15
+#		rr_min_io		1000
+#               path_checker            rdac
+#	}
 #       device {
 #               vendor                  "IBM"
 #               product                 "1815"
--- multipath-tools/libmultipath/hwtable.c	2009/11/04 21:47:06	1.20.2.24
+++ multipath-tools/libmultipath/hwtable.c	2009/12/02 19:15:28	1.20.2.25
@@ -402,6 +402,21 @@ 
 		.checker_name  = RDAC,
 	},
 	{
+		.vendor        = "IBM",
+		.product       = "1745|1746",
+		.getuid        = DEFAULT_GETUID,
+		.getprio       = "/sbin/mpath_prio_rdac /dev/%n",
+		.features      = "2 pg_init_retries 50",
+		.hwhandler     = "1 rdac",
+		.selector      = DEFAULT_SELECTOR,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = 15,
+		.minio         = DEFAULT_MINIO,
+		.checker_name  = RDAC,
+	},
+	{
 		/* IBM DS4800 */
 		.vendor        = "IBM",
 		.product       = "1815",
@@ -810,23 +825,54 @@ 
 		.minio         = DEFAULT_MINIO,
 		.checker_name  = RDAC,
 	},
+	{
+		.vendor        = "(LSI|ENGENIO)",
+		.product       = "INF.*",
+		.getuid        = DEFAULT_GETUID,
+		.getprio       = "/sbin/mpath_prio_rdac /dev/%n",
+		.features      = "2 pg_init_retries 50",
+		.hwhandler     = "1 rdac",
+		.selector      = DEFAULT_SELECTOR,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = 15,
+		.minio         = DEFAULT_MINIO,
+		.checker_name  = RDAC,
+	},
 	/*
 	 * DELL arrays
 	 */
 	{
 		.vendor        = "DELL",
-		.product       = "MD3000",
+		.product       = "MD3000|MD3000i",
 		.getuid        = DEFAULT_GETUID,
 		.getprio       = "/sbin/mpath_prio_rdac /dev/%n",
-		.features      = DEFAULT_FEATURES,
+		.features      = "2 pg_init_retries 50",
 		.hwhandler     = "1 rdac",
 		.selector      = DEFAULT_SELECTOR,
 		.pgpolicy      = GROUP_BY_PRIO,
-		.pgfailback    = -FAILBACK_MANUAL,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.rr_weight     = RR_WEIGHT_NONE,
-		.no_path_retry = NO_PATH_RETRY_UNDEF,
+		.no_path_retry = 15,
 		.minio         = DEFAULT_MINIO,
-		.checker_name  = READSECTOR0,
+		.checker_name  = RDAC,
+	},
+	{
+	/* DELL MD32xx/MD32xxi */
+		.vendor        = "DELL",
+		.product       = "MD32xx|MD32xxi",
+		.getuid        = DEFAULT_GETUID,
+		.getprio       = "/sbin/mpath_prio_rdac /dev/%n",
+		.features      = "2 pg_init_retries 50",
+		.hwhandler     = "1 rdac",
+		.selector      = DEFAULT_SELECTOR,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = 15,
+		.minio         = DEFAULT_MINIO,
+		.checker_name  = RDAC,
 	},
 	/*
 	 * Compellent Technologies, Inc.