Blame SOURCES/0004-multipath-tools-make-IBM-XIV-config-work-with-alua-a.patch

ebef98
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
ebef98
From: Xose Vazquez Perez <xose.vazquez@gmail.com>
ebef98
Date: Sat, 25 Sep 2021 00:27:36 +0200
ebef98
Subject: [PATCH] multipath-tools: make IBM/XIV config work with alua and
ebef98
 multibus
ebef98
ebef98
And add recommended pgfailback value.
ebef98
ebef98
ALUA is supported since XIV_Gen2 and microcode 10.2.1
ebef98
(All ports across all controllers in single Target Port Group)
ebef98
ebef98
https://www.ibm.com/support/pages/ibm-flashsystem%C2%AE-a9000-and-a9000r-hyperswap-solution-deployment-linux%C2%AE-ibm-z-systems%C2%AE
ebef98
https://www.google.com/search?q=%222810XIV%22+%22path_grouping_policy%22+site%3Aibm.com
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 0caac0da..72f81c60 100644
ebef98
--- a/libmultipath/hwtable.c
ebef98
+++ b/libmultipath/hwtable.c
ebef98
@@ -712,7 +712,8 @@ static struct hwentry default_hw[] = {
ebef98
 		.vendor        = "(XIV|IBM)",
ebef98
 		.product       = "(NEXTRA|2810XIV)",
ebef98
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
ebef98
-		.pgpolicy      = MULTIBUS,
ebef98
+		.pgpolicy      = GROUP_BY_PRIO,
ebef98
+		.pgfailback    = 15,
ebef98
 	},
ebef98
 	{
ebef98
 		/* TMS RamSan / FlashSystem 710/720/810/820/840/900 */