[dm-devel] [PATCH] multipath-tools: convert back HUAWEI/XSG1 to multibus

Xose Vazquez Perez xose.vazquez at gmail.com
Fri Mar 26 03:08:39 UTC 2021


This reverts commit ad206af1716437e84bbd81de6c4da7961d9a41d2

Recommended configs are, info from:
- RHEL https://download.huawei.com/edownload/e/download.do?actionFlag=download&nid=EDOC1100113070&partNo=6001&mid=SUPE_DOC&_t=1612885511000
- SLES https://download.huawei.com/edownload/e/download.do?actionFlag=download&nid=EDOC1100117892&partNo=6001&mid=SUPE_DOC&_t=1612885538000

- without HyperMetro:
vendor "HUAWEI"
product "XSG1"
path_grouping_policy multibus
no_path_retry 15

- with HyperMetro:
vendor "HUAWEI"
product "XSG1"
path_grouping_policy group_by_prio
prio alua
failback immediate
no_path_retry 15

ALUA is only used with HyperMetro(cluster of two arrays).

Cc: Zhouweigang (Jack) <zhouweigang09 at huawei.com>
Cc: Zou Ming <zouming.zouming at huawei.com>
Cc: Benjamin Marzinski <bmarzins at redhat.com>
Cc: Martin Wilck <mwilck at suse.com>
Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: DM-DEVEL ML <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
---
 libmultipath/hwtable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 7923abba..cd8ed7ff 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1081,8 +1081,8 @@ static struct hwentry default_hw[] = {
 		/* OceanStor V3 */
 		.vendor        = "HUAWEI",
 		.product       = "XSG1",
-		.pgpolicy      = GROUP_BY_PRIO,
-		.prio_name     = PRIO_ALUA,
+		.pgpolicy      = MULTIBUS,
+		.no_path_retry = 15,
 	},
 	{
 		/* OceanStor NVMe */
-- 
2.30.2




More information about the dm-devel mailing list