multipath: Merge the DELL MD3xxx device configs
authorBenjamin Marzinski <bmarzins@redhat.com>
Mon, 24 Apr 2017 22:39:26 +0000 (17:39 -0500)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Tue, 25 Apr 2017 04:20:44 +0000 (06:20 +0200)
All of the Dell MD3xxx configs are identical, so we can just use one
config for them.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
libmultipath/hwtable.c

index c944015..54309ef 100644 (file)
@@ -227,31 +227,7 @@ static struct hwentry default_hw[] = {
                /* MD Series */
        {
                .vendor        = "DELL",
                /* MD Series */
        {
                .vendor        = "DELL",
-               .product       = "MD3000",
-               .bl_product    = "Universal Xport",
-               .pgpolicy      = GROUP_BY_PRIO,
-               .checker_name  = RDAC,
-               .features      = "2 pg_init_retries 50",
-               .hwhandler     = "1 rdac",
-               .prio_name     = PRIO_RDAC,
-               .pgfailback    = -FAILBACK_IMMEDIATE,
-               .no_path_retry = 30,
-       },
-       {
-               .vendor        = "DELL",
-               .product       = "(MD32xx|MD36xx)",
-               .bl_product    = "Universal Xport",
-               .pgpolicy      = GROUP_BY_PRIO,
-               .checker_name  = RDAC,
-               .features      = "2 pg_init_retries 50",
-               .hwhandler     = "1 rdac",
-               .prio_name     = PRIO_RDAC,
-               .pgfailback    = -FAILBACK_IMMEDIATE,
-               .no_path_retry = 30,
-       },
-       {
-               .vendor        = "DELL",
-               .product       = "(MD34xx|MD38xx)",
+               .product       = "^MD3",
                .bl_product    = "Universal Xport",
                .pgpolicy      = GROUP_BY_PRIO,
                .checker_name  = RDAC,
                .bl_product    = "Universal Xport",
                .pgpolicy      = GROUP_BY_PRIO,
                .checker_name  = RDAC,