diff mbox

[6/7] libmultipath: add Huawei Storage default config

Message ID 1464736610-20027-7-git-send-email-bmarzins@redhat.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show

Commit Message

Benjamin Marzinski May 31, 2016, 11:16 p.m. UTC
Add a default device config for the Huawei XSG1 arrary. This config
comes from Huawei.

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

Patch

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
 	 */