[libmultipath] add support for IBM 3526
authorChristophe Varoqui <cvaroqui@zezette.localdomain>
Sun, 3 Sep 2006 22:11:39 +0000 (00:11 +0200)
committerChristophe Varoqui <cvaroqui@zezette.localdomain>
Sun, 3 Sep 2006 22:11:39 +0000 (00:11 +0200)
we've found another IBM storage server in our lab; this patch adds the
necessary hwtable entry for it.

However, this is an RDAC machine, so it'll work only in some cases. One
day we really need an RDAC hw-handler.

Hannes Reinecke, Suse

libmultipath/hwtable.c

index deb99e5..1fca140 100644 (file)
@@ -257,6 +257,22 @@ static struct hwentry default_hw[] = {
                .checker_name  = TUR,
        },
        {
+               /* IBM Netfinity Fibre Channel RAID Controller Unit */
+               .vendor        = "IBM",
+               .product       = "3526",
+               .getuid        = DEFAULT_GETUID,
+               .getprio       = "/sbin/mpath_prio_tpc /dev/%n",
+               .features      = DEFAULT_FEATURES,
+               .hwhandler     = DEFAULT_HWHANDLER,
+               .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,
+       },
+       {
                /* IBM DS4200 / FAStT200 */
                .vendor        = "IBM",
                .product       = "3542",