summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2018-07-18 15:31:22 +0800
committerKhem Raj <raj.khem@gmail.com>2018-07-20 16:07:12 -0700
commit3dc38c444b5fc88f9f0ba342a2e7db4c6566719f (patch)
tree9e5e01abfada189189bb79f57e7647f7a5c34c82 /meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch
parent61c6d99fb814be8ba295d6923f549179dfb51fe8 (diff)
downloadmeta-openembedded-3dc38c444b5fc88f9f0ba342a2e7db4c6566719f.tar.gz
multipath-tools: upgrade 0.7.1 -> 0.7.7
1. Backport patches from fedora: git://pkgs.fedoraproject.org/rpms/device-mapper-multipath - 0001 ~ 0028 2. drop obsolute patch and rebase still needed patch rebased patch: 0029~0031 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch')
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch b/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch
new file mode 100644
index 000000000..2cae0750b
--- /dev/null
+++ b/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch
@@ -0,0 +1,56 @@
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Xose Vazquez Perez <xose.vazquez@gmail.com>
3Date: Mon, 14 May 2018 17:30:17 +0200
4Subject: [PATCH] multipath-tools: configure hitachi ams2000 and hus100 as full
5 active arrays
6
7AMS2000 and HUS100 families are active/active arrays.
8
9Based on https://support.hitachivantara.com/download/epcra/df818913.pdf
10and internal hitachi docs.
11
12Cc: Matthias Rudolph <Matthias.Rudolph@hitachivantara.com>
13Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
14Cc: DM-DEV ML <dm-devel@redhat.com>
15Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
16Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
17---
18 libmultipath/hwtable.c | 10 ++++++++--
19 1 file changed, 8 insertions(+), 2 deletions(-)
20
21diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
22index 2ca6888..148f0ba 100644
23--- a/libmultipath/hwtable.c
24+++ b/libmultipath/hwtable.c
25@@ -398,13 +398,13 @@ static struct hwentry default_hw[] = {
26 * Mail : matthias.rudolph@hds.com
27 */
28 {
29- /* USP-V, HUS VM, VSP, VSP G1X00 and VSP GX00 families */
30+ /* USP-V, HUS VM, VSP, VSP G1X00 and VSP GX00 families / HP XP */
31 .vendor = "(HITACHI|HP)",
32 .product = "^OPEN-",
33 .pgpolicy = MULTIBUS,
34 },
35 {
36- /* AMS 2000 and HUS 100 families */
37+ /* AMS other than AMS 2000 */
38 .vendor = "HITACHI",
39 .product = "^DF",
40 .no_path_retry = NO_PATH_RETRY_QUEUE,
41@@ -412,6 +412,12 @@ static struct hwentry default_hw[] = {
42 .pgfailback = -FAILBACK_IMMEDIATE,
43 .prio_name = PRIO_HDS,
44 },
45+ {
46+ /* AMS 2000 and HUS 100 families */
47+ .vendor = "HITACHI",
48+ .product = "^DF600F",
49+ .pgpolicy = MULTIBUS,
50+ },
51 /*
52 * IBM
53 *
54--
552.7.4
56