[libmultipath] STK D280 to use the tpc prioritizer
authorChristophe Varoqui <root@xa-s05.(none)>
Sun, 15 Jan 2006 15:45:09 +0000 (16:45 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Sun, 15 Jan 2006 15:45:09 +0000 (16:45 +0100)
Align the defaults to SGI TP4500 ones.

Suggested by Chris Penney

libmultipath/hwtable.c

index a39520e..6981ae3 100644 (file)
@@ -402,16 +402,16 @@ static struct hwentry default_hw[] = {
                .vendor        = "STK",
                .product       = "OPENstorage D280",
                .getuid        = DEFAULT_GETUID,
-               .getprio       = NULL,
+               .getprio       = "/sbin/mpath_prio_tpc /dev/%n",
                .features      = DEFAULT_FEATURES,
                .hwhandler     = DEFAULT_HWHANDLER,
                .selector      = DEFAULT_SELECTOR,
-               .pgpolicy      = GROUP_BY_SERIAL,
-               .pgfailback    = FAILBACK_UNDEF,
+               .pgpolicy      = GROUP_BY_PRIO,
+               .pgfailback    = -FAILBACK_IMMEDIATE,
                .rr_weight     = RR_WEIGHT_NONE,
                .no_path_retry = NO_PATH_RETRY_UNDEF,
                .minio         = DEFAULT_MINIO,
-               .checker_index = READSECTOR0,
+               .checker_index = TUR,
        },
        /*
         * SUN arrays