From 254377cc3fcd60cd5d826e1d51064b63db3ffaf5 Mon Sep 17 00:00:00 2001 From: Yanqing Liu Date: Thu, 23 Oct 2008 23:00:33 +0200 Subject: [PATCH] [lib] add defaults for Dell M3000 and M3000i --- libmultipath/hwtable.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 5d0dfe9..255f724 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -599,6 +599,36 @@ static struct hwentry default_hw[] = { .checker_name = TUR, .prio_name = PRIO_ALUA, }, + { + /* DELL MD3000 */ + .vendor = "DELL", + .product = "MD3000", + .getuid = DEFAULT_GETUID, + .getprio = "/sbin/mpath_prio_rdac /dev/%n", + .features = "1 queue_if_no_path", + .hwhandler = "1 rdac", + .selector = DEFAULT_SELECTOR, + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .rr_weight = RR_WEIGHT_NONE, + .minio = DEFAULT_MINIO, + .checker_name = RDAC, + }, + { + /* DELL MD3000i */ + .vendor = "DELL", + .product = "MD3000i", + .getuid = DEFAULT_GETUID, + .getprio = "/sbin/mpath_prio_rdac /dev/%n", + .features = "1 queue_if_no_path", + .hwhandler = "1 rdac", + .selector = DEFAULT_SELECTOR, + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .rr_weight = RR_WEIGHT_NONE, + .minio = DEFAULT_MINIO, + .checker_name = RDAC, + }, /* * NETAPP controller family * -- 2.7.4