diff mbox series

[1/2] multipath-tools: add older HUAWEI models

Message ID 20240713111025.104048-2-xose.vazquez@gmail.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series multipath-tools: add more HUAWEI devices and vendors IDs | expand

Commit Message

Xose Vazquez Perez July 13, 2024, 11:10 a.m. UTC
Taken from Huawei UltraPath multipathing doc:
https://support.huawei.com/enterprise/en/doc/EDOC1100362072/4a563777/showing-array-models-supported-by-the-ultrapath

=====================
HUASY   Dorado2100
HUAWEI  Dorado2100
HUAWEI  Dorado2100 G2
HUASY   Dorado5100
HUAWEI  Dorado5100
HUAWEI  HVS85T
HUAWEI  HVS88T
HS      S2100
HUAWEI  S2100
HUASY   S2200T
HUAWEI  S2200T
HS      S2300
HUAWEI  S2300
HS      S2300E
HUAWEI  S2300E
HS      S2600
HUAWEI  S2600
HS      S2600T
HUASY   S2600T
HUAWEI  S2600T
HUAWEI  S2900
HUASY   S3900
HUAWEI  S3900
HUASY   S3900-M200
HUAWEI  S3900-M200
HUASY   S3900-M300
HUAWEI  S3900-M300
HS      S5100
HUAWEI  S5100
HS      S5300
HUASY   S5300
HUAWEI  S5300
HS      S5500
HUAWEI  S5500
HUASY   S5500T
HUAWEI  S5500T
HS      S5600
HUAWEI  S5600
HUASY   S5600T
HUAWEI  S5600T
HUASY   S5800T
HUAWEI  S5800T
HUASY   S5900-M100
HUAWEI  S5900-M100
HUASY   S5900-M200
HUAWEI  S5900-M200
HS      S6800E
HUAWEI  S6800E
HUASY   S6800T
HUAWEI  S6800T
HUASY   S6900
HUAWEI  S6900
HUASY   S6900-M100
HUAWEI  S6900-M100
HS      S8000
HUAWEI  S8000
HS      S8000-I
HUASY   S8000-I
HUAWEI  S8000-I
HS      V1500
HUAWEI  V1500
HS      V1500N
HUAWEI  V1500N
HS      V1600N
HUAWEI  V1600N
HS      V1800
HUAWEI  V1800
HS      VIS6000
HUAWEI  VIS6000
HS      VIS6000T
HUAWEI  VIS6000T
=====================

Cc: Martin Wilck <mwilck@suse.com>
Cc: Benjamin Marzinski <bmarzins@redhat.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: DM-DEVEL ML <dm-devel@lists.linux.dev>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 libmultipath/hwtable.c | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 9e008df6..095a9160 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1119,6 +1119,14 @@  static struct hwentry default_hw[] = {
 	/*
 	 * Huawei
 	 */
+	{
+		/* All, except OceanStor V3-V6 */
+		.vendor        = "^(HUAWEI|HUASY|HS)",
+		.product       = "^(Dorado|HVS8|S[23568]|V1[568]|VIS6000)",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.no_path_retry = 15,
+	},
 	{
 		/* OceanStor V3-V6 */
 		.vendor        = "HUAWEI",