Blame SOURCES/0009-multipath-tools-make-COMPELNT-Compellent-Vol-config-.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 22:15:56 +0200
ebef98
Subject: [PATCH] multipath-tools: make "COMPELNT/Compellent Vol" config work
ebef98
 with alua and multibus
ebef98
ebef98
ALUA is needed by SAS arrays, pag#124:
ebef98
https://downloads.dell.com/manuals/all-products/esuprt_solutions_int/esuprt_solutions_int_solutions_resources/general-solution-resources_white-papers2_en-us.pdf
ebef98
ebef98
Cc: Sean McGinnis <sean_mcginnis@dell.com>
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 4e8b52ff..7fc5bc04 100644
ebef98
--- a/libmultipath/hwtable.c
ebef98
+++ b/libmultipath/hwtable.c
ebef98
@@ -368,7 +368,8 @@ static struct hwentry default_hw[] = {
ebef98
 		 */
ebef98
 		.vendor        = "COMPELNT",
ebef98
 		.product       = "Compellent Vol",
ebef98
-		.pgpolicy      = MULTIBUS,
ebef98
+		.pgpolicy      = GROUP_BY_PRIO,
ebef98
+		.pgfailback    = -FAILBACK_IMMEDIATE,
ebef98
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
ebef98
 	},
ebef98
 	{