[dm-devel] [PATCH 6/7] libmultipath: add Huawei Storage default config

Benjamin Marzinski bmarzins at redhat.com
Tue May 31 23:16:49 UTC 2016


Add a default device config for the Huawei XSG1 arrary. This config
comes from Huawei.

Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
---
 libmultipath/hwtable.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 883cd98..66b5123 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1166,6 +1166,15 @@ static struct hwentry default_hw[] = {
 		.dev_loss      = 60,
 		.prio_args     = NULL,
 	},
+	{
+		.vendor        = "HUAWEI",
+		.product       = "XSG1",
+		.features      = DEFAULT_FEATURES,
+		.hwhandler     = DEFAULT_HWHANDLER,
+		.pgpolicy      = MULTIBUS,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.checker_name  = TUR,
+	},
 	/*
 	 * EOL
 	 */
-- 
1.8.3.1




More information about the dm-devel mailing list