diff mbox

multipath-tools: add INSPUR/MCS to hardware table

Message ID 6FA0216CBF61AE4AA9DA6744243E7853DB5C43CF@jtjnmailbox06.home.langchao.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show

Commit Message

Tom Geng(耿芳忠) Jan. 23, 2018, 11:01 a.m. UTC
Hi, Xose,
Thank you for your review work and suggestions. Attachment is the patch file
generated by git format-patch, and pasted below. Please help to submit,
thank you.


>From 091bae5fec22c61f0c3e6f9ab848fecae5203122 Mon Sep 17 00:00:00 2001
From: Tom Geng <gengfangzhong@inspur.com>
Date: Tue, 23 Jan 2018 15:33:09 +0800
Subject: [PATCH] multipath-tools: add INSPUR/MCS to hardware table

---
 libmultipath/hwtable.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox

Patch

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 448effe3..93d67df0 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1181,6 +1181,17 @@  static struct hwentry default_hw[] = {
 		.pgpolicy      = MULTIBUS,
 		.no_path_retry = 30,
 	},
+	/*
+	 * INSPUR
+	 */
+	{
+		/* AS5300/AS5500 G2 */
+		.vendor        = "INSPUR",
+		.product       = "MCS",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.prio_name     = PRIO_ALUA,
+	},
 	/*
 	 * EOL
 	 */