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

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