[PATCH] hwtable: Add vendor ID, and update defaults for NetApp
authorSean Stewart <sean.stewart@netapp.com>
Tue, 2 Apr 2013 20:34:49 +0000 (22:34 +0200)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Tue, 2 Apr 2013 20:34:49 +0000 (22:34 +0200)
This patch provides hwtable updates for NETAPP/LSI/ENGENIO E-Series
arrays, utilizing new features to detect TPGS support, automatically.

Signed-off-by: Sean Stewart <Sean.Stewart@netapp.com>
libmultipath/hwtable.c

index d7292ee..c317cde 100644 (file)
@@ -1046,9 +1046,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 : sean.stewart@netapp.com
+        */
        {
-               .vendor        = "(LSI|ENGENIO)",
+               .vendor        = "(NETAPP|LSI|ENGENIO)",
                .product       = "INF-01-00",
                .bl_product    = "Universal Xport",
                .features      = "2 pg_init_retries 50",
@@ -1056,10 +1060,12 @@ 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,
                .checker_name  = RDAC,
                .prio_name     = PRIO_RDAC,
                .prio_args     = NULL,
+               .detect_prio   = DETECT_PRIO_ON,
+               .retain_hwhandler = RETAIN_HWHANDLER_ON,
        },
        {
                .vendor        = "STK",