diff mbox

multipath-tools: add Infortrend arrays to hwtable

Message ID 20161020165258.6730-1-xose.vazquez@gmail.com (mailing list archive)
State Not Applicable, archived
Delegated to: Mike Snitzer
Headers show

Commit Message

Xose Vazquez Perez Oct. 20, 2016, 4:52 p.m. UTC
Based on info from manufacturer:
http://infortrend.com/ImageLoader/LoadDoc/385/True/True

Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 libmultipath/hwtable.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox

Patch

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index d67b217..98da295 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1013,6 +1013,18 @@  static struct hwentry default_hw[] = {
 		.pgpolicy      = MULTIBUS,
 		.no_path_retry = 30,
 	},
+	/*
+	 * Infortrend Technology
+	 */
+	{
+		/* EonStor / ESVA */
+		.vendor        = "^IFT",
+		.product       = ".*",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.prio_name     = PRIO_ALUA,
+		.no_path_retry = 30,
+	},
 #if 0
 	/*
 	 * Copy this TEMPLATE to add new hardware.