Blame SOURCES/0116-UPBZ-1188179-dell-36xxi.patch

ecd2a9
---
ecd2a9
 libmultipath/hwtable.c  |   30 ++++++++++++++++++++++++++++++
ecd2a9
 multipath.conf.defaults |   26 ++++++++++++++++++++++++++
ecd2a9
 2 files changed, 56 insertions(+)
ecd2a9
ecd2a9
Index: multipath-tools-130222/libmultipath/hwtable.c
ecd2a9
===================================================================
ecd2a9
--- multipath-tools-130222.orig/libmultipath/hwtable.c
ecd2a9
+++ multipath-tools-130222/libmultipath/hwtable.c
ecd2a9
@@ -772,6 +772,36 @@ static struct hwentry default_hw[] = {
ecd2a9
 		.prio_name     = PRIO_RDAC,
ecd2a9
 		.prio_args     = NULL,
ecd2a9
 	},
ecd2a9
+	{
ecd2a9
+		/* DELL MD36xxi */
ecd2a9
+		.vendor        = "DELL",
ecd2a9
+		.product       = "MD36xxi",
ecd2a9
+		.bl_product    = "Universal Xport",
ecd2a9
+		.features      = "2 pg_init_retries 50",
ecd2a9
+		.hwhandler     = "1 rdac",
ecd2a9
+		.pgpolicy      = GROUP_BY_PRIO,
ecd2a9
+		.pgfailback    = -FAILBACK_IMMEDIATE,
ecd2a9
+		.rr_weight     = RR_WEIGHT_NONE,
ecd2a9
+		.no_path_retry = 15,
ecd2a9
+		.checker_name  = RDAC,
ecd2a9
+		.prio_name     = PRIO_RDAC,
ecd2a9
+		.prio_args     = NULL,
ecd2a9
+	},
ecd2a9
+	{
ecd2a9
+		/* DELL MD36xxf */
ecd2a9
+		.vendor        = "DELL",
ecd2a9
+		.product       = "MD36xxf",
ecd2a9
+		.bl_product    = "Universal Xport",
ecd2a9
+		.features      = "2 pg_init_retries 50",
ecd2a9
+		.hwhandler     = "1 rdac",
ecd2a9
+		.pgpolicy      = GROUP_BY_PRIO,
ecd2a9
+		.pgfailback    = -FAILBACK_IMMEDIATE,
ecd2a9
+		.rr_weight     = RR_WEIGHT_NONE,
ecd2a9
+		.no_path_retry = 15,
ecd2a9
+		.checker_name  = RDAC,
ecd2a9
+		.prio_name     = PRIO_RDAC,
ecd2a9
+		.prio_args     = NULL,
ecd2a9
+	},
ecd2a9
 	/*
ecd2a9
 	 * NETAPP controller family
ecd2a9
 	 *
ecd2a9
Index: multipath-tools-130222/multipath.conf.defaults
ecd2a9
===================================================================
ecd2a9
--- multipath-tools-130222.orig/multipath.conf.defaults
ecd2a9
+++ multipath-tools-130222/multipath.conf.defaults
ecd2a9
@@ -655,6 +655,32 @@
ecd2a9
 #		no_path_retry 15
ecd2a9
 #	}
ecd2a9
 #	device {
ecd2a9
+#		vendor "DELL"
ecd2a9
+#		product "MD36xxi"
ecd2a9
+#		product_blacklist "Universal Xport"
ecd2a9
+#		path_grouping_policy "group_by_prio"
ecd2a9
+#		path_checker "rdac"
ecd2a9
+#		features "2 pg_init_retries 50"
ecd2a9
+#		hardware_handler "1 rdac"
ecd2a9
+#		prio "rdac"
ecd2a9
+#		failback "immediate"
ecd2a9
+#		rr_weight "uniform"
ecd2a9
+#		no_path_retry 15
ecd2a9
+#	}
ecd2a9
+#	device {
ecd2a9
+#		vendor "DELL"
ecd2a9
+#		product "MD36xxf"
ecd2a9
+#		product_blacklist "Universal Xport"
ecd2a9
+#		path_grouping_policy "group_by_prio"
ecd2a9
+#		path_checker "rdac"
ecd2a9
+#		features "2 pg_init_retries 50"
ecd2a9
+#		hardware_handler "1 rdac"
ecd2a9
+#		prio "rdac"
ecd2a9
+#		failback "immediate"
ecd2a9
+#		rr_weight "uniform"
ecd2a9
+#		no_path_retry 15
ecd2a9
+#	}
ecd2a9
+#	device {
ecd2a9
 #		vendor "NETAPP"
ecd2a9
 #		product "LUN.*"
ecd2a9
 #		path_grouping_policy "group_by_prio"