Blame SOURCES/0035-BZ-1700911-hwtable-add-Lenovo-DE-series.patch

a1c519
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
a1c519
From: Martin Wilck <mwilck@suse.com>
a1c519
Date: Mon, 18 Mar 2019 12:24:45 +0100
a1c519
Subject: [PATCH] BZ 1700911: hwtable: add Lenovo DE series
a1c519
a1c519
I got this from Steven.
a1c519
a1c519
Cc: Steve.Schremmer@netapp.com
a1c519
Cc: NetApp RDAC team <ng-eseries-upstream-maintainers@netapp.com>
a1c519
Cc: xose.vazquez@gmail.com
a1c519
Signed-off-by: Martin Wilck <mwilck@suse.com>
a1c519
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
a1c519
---
a1c519
 libmultipath/hwtable.c | 20 ++++++++++++++++++++
a1c519
 1 file changed, 20 insertions(+)
a1c519
a1c519
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
a1c519
index 8776411..f13591d 100644
a1c519
--- a/libmultipath/hwtable.c
a1c519
+++ b/libmultipath/hwtable.c
a1c519
@@ -701,6 +701,26 @@ static struct hwentry default_hw[] = {
a1c519
 		.no_path_retry = (300 / DEFAULT_CHECKINT),
a1c519
 		.prio_name     = PRIO_ALUA,
a1c519
 	},
a1c519
+        /*
a1c519
+         * Lenovo
a1c519
+         */
a1c519
+        {
a1c519
+                /*
a1c519
+		 * DE Series
a1c519
+		 *
a1c519
+		 * Maintainer: ng-eseries-upstream-maintainers@netapp.com
a1c519
+		 */
a1c519
+                .vendor        = "LENOVO",
a1c519
+                .product       = "DE_Series",
a1c519
+                .bl_product    = "Universal Xport",
a1c519
+                .pgpolicy      = GROUP_BY_PRIO,
a1c519
+                .checker_name  = RDAC,
a1c519
+                .features      = "2 pg_init_retries 50",
a1c519
+                .hwhandler     = "1 rdac",
a1c519
+                .prio_name     = PRIO_RDAC,
a1c519
+                .pgfailback    = -FAILBACK_IMMEDIATE,
a1c519
+                .no_path_retry = 30,
a1c519
+        },
a1c519
 	/*
a1c519
 	 * NetApp
a1c519
 	 */
a1c519
-- 
a1c519
2.17.2
a1c519