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