Skip to contentSkip to conversation

hwtable: Add vendor ID and update defaults for NetApp E-Series storage

PATCH RESEND Xose Vazquez Perez 2 participants 2 messages Jul 16, 2013 – Jul 17, 2013 Device mapper

lore
Share & tools
lore
#0 lore raw
Quoted 33 lines · Sean Stewart

Attempting to resend because it did not seem to go through after several hours. Please disregard if both went through. This patch provides hwtable updates for NETAPP/LSI/ENGENIO E-Series arrays, utilizing new features to detect TPGS support, automatically.

---

libmultipath/hwtable.c +7 -3
@@ -1135,9 +1135,13 @@ static struct hwentry default_hw[] = {
 		.checker_name  = RDAC,
 		.prio_name     = PRIO_RDAC,
 	},
-	/* LSI/Engenio/NetApp E-Series RDAC storage */
+	/* LSI/Engenio/NetApp E-Series RDAC storage
+	 *
+	 * Maintainer : Sean Stewart
+	 * Mail : [email protected]
+	 */
 	{
-		.vendor        = "(LSI|ENGENIO)",
+		.vendor        = "(NETAPP|LSI|ENGENIO)",
 		.product       = "INF-01-00",
 		.bl_product    = "Universal Xport",
 		.features      = "2 pg_init_retries 50",
@@ -1145,12 +1149,14 @@ static struct hwentry default_hw[] = {
 		.pgpolicy      = GROUP_BY_PRIO,
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.rr_weight     = RR_WEIGHT_NONE,
-		.no_path_retry = 15,
+		.no_path_retry = 30,
 		.minio         = DEFAULT_MINIO,
 		.minio_rq      = DEFAULT_MINIO_RQ,

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

Quoted 10 lines
libmultipath/hwtable.c +2 -1
 		.checker_name  = RDAC,
 		.prio_name     = PRIO_RDAC,
 		.prio_args     = NULL,
+		.detect_prio   = DETECT_PRIO_ON,
+		.retain_hwhandler = RETAIN_HWHANDLER_ON,
 	},
 	{
 		.vendor        = "STK",
 
--

This change should be also propagated to multipath.conf.defaults

#1 lore raw
Quoted 23 lines
Quoted 23 lines
(quoted diff) +4 -2
 	{
-		.vendor        = "(LSI|ENGENIO)",
+		.vendor        = "(NETAPP|LSI|ENGENIO)",
 		.product       = "INF-01-00",
 		.bl_product    = "Universal Xport",
 		.features      = "2 pg_init_retries 50",
@@ -1145,12 +1149,14 @@ static struct hwentry default_hw[] = {
 		.pgpolicy      = GROUP_BY_PRIO,
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.rr_weight     = RR_WEIGHT_NONE,
-		.no_path_retry = 15,
+		.no_path_retry = 30,
 		.minio         = DEFAULT_MINIO,
 		.minio_rq      = DEFAULT_MINIO_RQ,
 		.checker_name  = RDAC,
 		.prio_name     = PRIO_RDAC,
 		.prio_args     = NULL,
+		.detect_prio   = DETECT_PRIO_ON,
+		.retain_hwhandler = RETAIN_HWHANDLER_ON,
 	},
 	{
 		.vendor        = "STK",
Quoted 3 lines
Quoted 1 line

--

This change should be also propagated to multipath.conf.defaults

Done.

Thanks,
Christophe Varoqui
OpenSVC