Skip to contentSkip to conversation

multipath-tools: add VIOLIN arrays to hardware table

PATCH In review Xose Vazquez Perez 2 participants 3 messages Oct 15, 2016 – Oct 17, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: add VIOLIN arrays to hardware table

Based on documentation provided by the manufacturer:
https://drive.google.com/open?id=0B_B6YmEmO7cDQlMzc1BsaUxZRVU

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
libmultipath/hwtable.c +26 -0
index aca46ab..e34032d 100644
@@ -944,6 +944,32 @@ static struct hwentry default_hw[] = {
 		.pgpolicy      = MULTIBUS,
 		.no_path_retry = 12,
 	},
+	/*
+	 * Violin Memory
+	 */
+	{
+		/* V3000 / V6000 Series */
+		.vendor        = "VIOLIN",
+		.product       = "SAN ARRAY$",
+		.pgpolicy      = GROUP_BY_SERIAL,
+		.no_path_retry = 30,
+	},
+	{
+		.vendor        = "VIOLIN",
+		.product       = "SAN ARRAY ALUA",
+		.hwhandler     = "1 alua",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.prio_name     = PRIO_ALUA,
+		.no_path_retry = 30,
+	},
+	{
+		/* FSP 7000 family */
+		.vendor        = "VIOLIN",
+		.product       = "CONCERTO ARRAY",
+		.pgpolicy      = MULTIBUS,
+		.no_path_retry = 30,
+	},
 #if 0
 	/*
 	 * Copy this TEMPLATE to add new hardware.
Signature · 1 line
2.10.1
#1 lore raw
Quoted 38 lines · Xose Vazquez Perez

Based on documentation provided by the manufacturer:
https://drive.google.com/open?id=0B_B6YmEmO7cDQlMzc1BsaUxZRVU

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
libmultipath/hwtable.c +19 -0
index aca46ab..e34032d 100644
@@ -944,6 +944,32 @@ static struct hwentry default_hw[] = {
 		.pgpolicy      = MULTIBUS,
 		.no_path_retry = 12,
 	},
+	/*
+	 * Violin Memory
+	 */
+	{
+		/* V3000 / V6000 Series */
+		.vendor        = "VIOLIN",
+		.product       = "SAN ARRAY$",
+		.pgpolicy      = GROUP_BY_SERIAL,
+		.no_path_retry = 30,
+	},
+	{
+		.vendor        = "VIOLIN",
+		.product       = "SAN ARRAY ALUA",
+		.hwhandler     = "1 alua",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.prio_name     = PRIO_ALUA,
+		.no_path_retry = 30,
+	},

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 975

Quoted 10 lines
libmultipath/hwtable.c +7 -0
+	{
+		/* FSP 7000 family */
+		.vendor        = "VIOLIN",
+		.product       = "CONCERTO ARRAY",
+		.pgpolicy      = MULTIBUS,
+		.no_path_retry = 30,
+	},
 #if 0
 	/*
 	 * Copy this TEMPLATE to add new hardware.

Where's the point of the first and the third entry? They'll be identical to the default settings, no?

Cheers,

Hannes

Signature · 4 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
#2 lore raw
Quoted 32 lines · Hannes Reinecke
Quoted 32 lines
libmultipath/hwtable.c +24 -0
index aca46ab..e34032d 100644
@@ -944,6 +944,32 @@ static struct hwentry default_hw[] = {
         .pgpolicy      = MULTIBUS,
         .no_path_retry = 12,
     },
+    /*
+     * Violin Memory
+     */
+    {
+        /* V3000 / V6000 Series */
+        .vendor        = "VIOLIN",
+        .product       = "SAN ARRAY$",
+        .pgpolicy      = GROUP_BY_SERIAL,
+        .no_path_retry = 30,
+    },
+    {
+        .vendor        = "VIOLIN",
+        .product       = "SAN ARRAY ALUA",
+        .hwhandler     = "1 alua",
+        .pgpolicy      = GROUP_BY_PRIO,
+        .pgfailback    = -FAILBACK_IMMEDIATE,
+        .prio_name     = PRIO_ALUA,
+        .no_path_retry = 30,
+    },
+    {
+        /* FSP 7000 family */
+        .vendor        = "VIOLIN",
+        .product       = "CONCERTO ARRAY",
+        .pgpolicy      = MULTIBUS,
Quoted 8 lines

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 975

Quoted 6 lines
libmultipath/hwtable.c +2 -0
+        .no_path_retry = 30,
+    },
 #if 0
     /*
      * Copy this TEMPLATE to add new hardware.

Where's the point of the first and the third entry? They'll be identical to the default settings, no?

for VIOLIN/"SAN ARRAY" .pgpolicy = GROUP_BY_SERIAL,
for VIOLIN/"CONCERTO ARRAY" .pgpolicy = MULTIBUS,

and DEFAULT_PGPOLICY is FAILOVER