Blame SOURCES/0006-multipath-tools-make-IBM-2107900-DS8000-config-work-.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 18:52:10 +0200
e65fa3
Subject: [PATCH] multipath-tools: make IBM/2107900 (DS8000) config work with
e65fa3
 alua and multibus
e65fa3
e65fa3
ALUA is supported since the beginning:
e65fa3
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/device_handler/scsi_dh_alua.c?id=057ea7c9683c3d684128cced796f03c179ecf1c2#n683
e65fa3
e65fa3
... the DS8000 is an Asymmetric Logical Unit Access (ALUA) capable storage array,
e65fa3
pag#160(144): https://www.redbooks.ibm.com/redbooks/pdfs/sg248887.pdf
e65fa3
e65fa3
kernel log:
e65fa3
https://marc.info/?l=linux-scsi&m=156407413807511&q=mbox
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 72f81c60..f115c4f9 100644
e65fa3
--- a/libmultipath/hwtable.c
e65fa3
+++ b/libmultipath/hwtable.c
e65fa3
@@ -656,7 +656,8 @@ static struct hwentry default_hw[] = {
e65fa3
 		.vendor        = "IBM",
e65fa3
 		.product       = "^2107900",
e65fa3
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
e65fa3
-		.pgpolicy      = MULTIBUS,
e65fa3
+		.pgpolicy      = GROUP_BY_PRIO,
e65fa3
+		.pgfailback    = -FAILBACK_IMMEDIATE,
e65fa3
 	},
e65fa3
 	{
e65fa3
 		// Storwize V5000 and V7000 lines / SAN Volume Controller (SVC) / Flex System V7000 /