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

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