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