[lib] add IBM IPR to hwtable.
authorMike Anderson <andmike@linux.vnet.ibm.com>
Wed, 20 Aug 2008 21:55:31 +0000 (23:55 +0200)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Wed, 20 Aug 2008 21:55:31 +0000 (23:55 +0200)
libmultipath/hwtable.c

index 257c51e..ada5c55 100644 (file)
@@ -530,6 +530,22 @@ static struct hwentry default_hw[] = {
                .checker_name  = DIRECTIO,
                .prio_name     = DEFAULT_PRIO,
        },
+       {
+               /* IBM IPR */
+               .vendor        = "IBM",
+               .product       = "IPR.*",
+               .getuid        = DEFAULT_GETUID,
+               .features      = "1 queue_if_no_path",
+               .hwhandler     = "1 alua",
+               .selector      = DEFAULT_SELECTOR,
+               .pgpolicy      = GROUP_BY_PRIO,
+               .pgfailback    = -FAILBACK_IMMEDIATE,
+               .rr_weight     = RR_WEIGHT_NONE,
+               .no_path_retry = NO_PATH_RETRY_UNDEF,
+               .minio         = DEFAULT_MINIO,
+               .checker_name  = TUR,
+               .prio_name     = PRIO_ALUA,
+       },
        /*
         * NETAPP controller family
         *