Blame SOURCES/0008-multipath-tools-make-EMC-Invista-config-work-with-al.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:31:21 +0200
e65fa3
Subject: [PATCH] multipath-tools: make EMC/Invista config work with alua and
e65fa3
 multibus
e65fa3
e65fa3
Optimal Path Management (OPM) was introduced with VPLEX 5.5 to improve VPLEX
e65fa3
performance. OPM uses the ALUA mechanism to spread the I/O load across VPLEX directors
e65fa3
while gaining cache locality, pag #187:
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 7095aaf1..4e8b52ff 100644
e65fa3
--- a/libmultipath/hwtable.c
e65fa3
+++ b/libmultipath/hwtable.c
e65fa3
@@ -350,8 +350,9 @@ static struct hwentry default_hw[] = {
e65fa3
 		.vendor        = "EMC",
e65fa3
 		.product       = "Invista",
e65fa3
 		.bl_product    = "LUNZ",
e65fa3
-		.pgpolicy      = MULTIBUS,
e65fa3
+		.pgpolicy      = GROUP_BY_PRIO,
e65fa3
 		.no_path_retry = 5,
e65fa3
+		.pgfailback    = -FAILBACK_IMMEDIATE,
e65fa3
 	},
e65fa3
 	{
e65fa3
 		/* XtremIO */