Blame SOURCES/0155-UPBZ-1300415-PURE-config.patch

4ae388
---
4ae388
 libmultipath/hwtable.c  |   16 ++++++++++++++++
4ae388
 multipath.conf.defaults |   11 +++++++++++
4ae388
 2 files changed, 27 insertions(+)
4ae388
4ae388
Index: multipath-tools-130222/libmultipath/hwtable.c
4ae388
===================================================================
4ae388
--- multipath-tools-130222.orig/libmultipath/hwtable.c
4ae388
+++ multipath-tools-130222/libmultipath/hwtable.c
4ae388
@@ -1166,6 +1166,22 @@ static struct hwentry default_hw[] = {
4ae388
 		.prio_name     = DEFAULT_PRIO,
4ae388
 		.prio_args     = NULL,
4ae388
 	},
4ae388
+	{
4ae388
+		.vendor        = "PURE",
4ae388
+		.product       = "FlashArray",
4ae388
+		.features      = DEFAULT_FEATURES,
4ae388
+		.hwhandler     = DEFAULT_HWHANDLER,
4ae388
+		.selector      = "queue-length 0",
4ae388
+		.pgpolicy      = MULTIBUS,
4ae388
+		.pgfailback    = -FAILBACK_IMMEDIATE,
4ae388
+		.checker_name  = TUR,
4ae388
+		.fast_io_fail  = 10,
4ae388
+		.user_friendly_names = USER_FRIENDLY_NAMES_OFF,
4ae388
+		.prio_name     = DEFAULT_PRIO,
4ae388
+		.no_path_retry = 0,
4ae388
+		.dev_loss      = 60,
4ae388
+		.prio_args     = NULL,
4ae388
+	},
4ae388
 	/*
4ae388
 	 * EOL
4ae388
 	 */
4ae388
Index: multipath-tools-130222/multipath.conf.defaults
4ae388
===================================================================
4ae388
--- multipath-tools-130222.orig/multipath.conf.defaults
4ae388
+++ multipath-tools-130222/multipath.conf.defaults
4ae388
@@ -963,6 +963,17 @@
4ae388
 #		failback immediate
4ae388
 #		fast_io_fail_tmo 15
4ae388
 #	}
4ae388
+#	device {
4ae388
+#		vendor "PURE"
4ae388
+#		path_selector "queue-length 0"
4ae388
+#		path_grouping_policy "multibus"
4ae388
+#		path_checker "tur"
4ae388
+#		fast_io_fail_tmo 10
4ae388
+#		user_friendly_names "no"
4ae388
+#		no_path_retry 0
4ae388
+#		features 0
4ae388
+#		dev_loss_tmo 60
4ae388
+#	}
4ae388
 #}
4ae388
 #multipaths {
4ae388
 #}