[hwtable] Update SGI entries
authorHannes Reinecke <hare@suse.de>
Wed, 16 May 2007 10:41:02 +0000 (12:41 +0200)
committerChristophe Varoqui <cvaroqui@zezette.localdomain>
Mon, 21 May 2007 21:43:13 +0000 (23:43 +0200)
Add new entry for SGI Infinite Storage machines; and we should also
use the 'RDAC' path checker for SGI storage.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/hwtable.c

index 9354a8e..5e04d95 100644 (file)
@@ -511,9 +511,24 @@ static struct hwentry default_hw[] = {
                .pgpolicy      = GROUP_BY_PRIO,
                .pgfailback    = -FAILBACK_IMMEDIATE,
                .rr_weight     = RR_WEIGHT_NONE,
-               .no_path_retry = NO_PATH_RETRY_UNDEF,
+               .no_path_retry = NO_PATH_RETRY_QUEUE,
                .minio         = DEFAULT_MINIO,
-               .checker_name  = TUR,
+               .checker_name  = RDAC,
+       },
+       {
+               .vendor        = "SGI",
+               .product       = "IS.*",
+               .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_QUEUE,
+               .minio         = DEFAULT_MINIO,
+               .checker_name  = RDAC,
        },
        /*
         * STK arrays