Blame SOURCES/0007-multipath-tools-make-EMC-SYMMETRIX-config-work-with-.patch

e65fa3
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
e65fa3
From: Xose Vazquez Perez <xose.vazquez@gmail.com>
e65fa3
Date: Tue, 28 Sep 2021 19:20:59 +0200
e65fa3
Subject: [PATCH] multipath-tools: make EMC/SYMMETRIX config work with alua and
e65fa3
 multibus
e65fa3
e65fa3
ALUA is supported since VMAX3 and HYPERMAX OS 5977.811.784, pag#113:
e65fa3
https://www.delltechnologies.com/en-us/collaterals/unauth/technical-guides-support-information/products/storage-2/docu5128.pdf
e65fa3
e65fa3
Cc: Martin Wilck <mwilck@suse.com>
e65fa3
Cc: Benjamin Marzinski <bmarzins@redhat.com>
e65fa3
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
e65fa3
Cc: DM-DEVEL ML <dm-devel@redhat.com>
e65fa3
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
e65fa3
Reviewed-by: Martin Wilck <mwilck@suse.com>
e65fa3
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
e65fa3
---
e65fa3
 libmultipath/hwtable.c | 3 ++-
e65fa3
 1 file changed, 2 insertions(+), 1 deletion(-)
e65fa3
e65fa3
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
e65fa3
index f115c4f9..7095aaf1 100644
e65fa3
--- a/libmultipath/hwtable.c
e65fa3
+++ b/libmultipath/hwtable.c
e65fa3
@@ -329,8 +329,9 @@ static struct hwentry default_hw[] = {
e65fa3
 		/* Symmetrix / DMX / VMAX / PowerMax */
e65fa3
 		.vendor        = "EMC",
e65fa3
 		.product       = "SYMMETRIX",
e65fa3
-		.pgpolicy      = MULTIBUS,
e65fa3
+		.pgpolicy      = GROUP_BY_PRIO,
e65fa3
 		.no_path_retry = 6,
e65fa3
+		.pgfailback    = -FAILBACK_IMMEDIATE,
e65fa3
 	},
e65fa3
 	{
e65fa3
 		/* DGC CLARiiON CX/AX / VNX and Unity */