Blame SOURCES/0041-libmultipath-add-device-to-hwtable.c.patch

b7337d
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
b7337d
From: Steve Schremmer <steve.schremmer@netapp.com>
b7337d
Date: Mon, 6 Jul 2020 20:22:35 +0000
b7337d
Subject: [PATCH] libmultipath: add device to hwtable.c
b7337d
b7337d
Add FUJITSU ETERNUS_AHB defaults.
b7337d
b7337d
Signed-off-by: Steve Schremmer <steve.schremmer@netapp.com>
b7337d
Reviewed-by: Martin Wilck <mwilck@suse.com>
b7337d
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
b7337d
---
b7337d
 libmultipath/hwtable.c | 16 ++++++++++++++++
b7337d
 1 file changed, 16 insertions(+)
b7337d
b7337d
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
b7337d
index d1fcfdb3..d680bdfc 100644
b7337d
--- a/libmultipath/hwtable.c
b7337d
+++ b/libmultipath/hwtable.c
b7337d
@@ -428,6 +428,22 @@ static struct hwentry default_hw[] = {
b7337d
 		.pgpolicy      = MULTIBUS,
b7337d
 		.no_path_retry = 10,
b7337d
 	},
b7337d
+	{
b7337d
+		/*
b7337d
+		 * ETERNUS AB/HB
b7337d
+		 * Maintainer: NetApp RDAC team <ng-eseries-upstream-maintainers@netapp.com>
b7337d
+		 */
b7337d
+		.vendor        = "FUJITSU",
b7337d
+		.product       = "ETERNUS_AHB",
b7337d
+		.bl_product    = "Universal Xport",
b7337d
+		.pgpolicy      = GROUP_BY_PRIO,
b7337d
+		.checker_name  = RDAC,
b7337d
+		.features      = "2 pg_init_retries 50",
b7337d
+		.hwhandler     = "1 rdac",
b7337d
+		.prio_name     = PRIO_RDAC,
b7337d
+		.pgfailback    = -FAILBACK_IMMEDIATE,
b7337d
+		.no_path_retry = 30,
b7337d
+	},
b7337d
 	/*
b7337d
 	 * Hitachi Vantara
b7337d
 	 *
b7337d
-- 
b7337d
2.17.2
b7337d