summaryrefslogtreecommitdiffstats
path: root/0089-RHBZ-694602-RSSM-config.patch
blob: 5432320b119265bf3c719b5ab9301ac61e18363d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
 libmultipath/hwtable.c  |   16 ++++++++++++++++
 multipath.conf.defaults |   15 +++++++++++++++
 2 files changed, 31 insertions(+)

Index: multipath-tools/libmultipath/hwtable.c
===================================================================
--- multipath-tools.orig/libmultipath/hwtable.c
+++ multipath-tools/libmultipath/hwtable.c
@@ -725,6 +725,22 @@ static struct hwentry default_hw[] = {
 		.checker_name  = TUR,
 		.prio_name     = PRIO_ALUA,
 	},
+	{
+		/* IBM RSSM */
+		.vendor        = "IBM",
+		.product       = "1820N00",
+		.getuid        = DEFAULT_GETUID,
+		.features      = DEFAULT_FEATURES,
+		.hwhandler     = DEFAULT_HWHANDLER,
+		.selector      = DEFAULT_SELECTOR,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+		.minio         = 100,
+		.checker_name  = TUR,
+		.prio_name     = PRIO_ALUA,
+	},
 	/*
 	 * IBM Power Virtual SCSI Devices
 	 *
Index: multipath-tools/multipath.conf.defaults
===================================================================
--- multipath-tools.orig/multipath.conf.defaults
+++ multipath-tools/multipath.conf.defaults
@@ -491,6 +491,21 @@
 #		prio			ontap
 #	}
 #	device {
+#	        vendor                  "IBM"
+#	        product                 "1820N00"
+#	        getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
+#	        features		"0"
+#	        hardware_handler        "0"
+#	        path_selector           "round-robin 0"
+#	        path_grouping_policy    group_by_prio
+#	        failback                immediate
+#	        rr_weight               uniform
+#	        rr_min_io               100
+#	        path_checker            tur
+#	        prio                    alua
+#	        no_path_retry           queue
+#       }
+#	device {
 #		vendor			"Pillar"
 #		product			"Axiom.*"
 #		getuid_callout		"/lib/udev/scsi_id --whitelisted --device=/dev/%n"