From db69e1c24775111aee956370389198bf1f0259d8 Mon Sep 17 00:00:00 2001 From: "bmarzins@sourceware.org" Date: Mon, 9 Aug 2010 21:35:58 +0000 Subject: [PATCH] multipath-tools ./multipath.conf.defaults libm ... CVSROOT: /cvs/dm Module name: multipath-tools Branch: RHEL5_FC6 Changes by: bmarzins@sourceware.org 2010-08-09 21:35:58 Modified files: . : multipath.conf.defaults libmultipath : hwtable.c Log message: Fix for bz565579 New default configurations. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.21&r2=1.5.4.22 http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.28&r2=1.20.2.29 --- libmultipath/hwtable.c | 19 ++++++++++++++++++- multipath.conf.defaults | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index e4fe380..9933f76 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -759,7 +759,23 @@ static struct hwentry default_hw[] = { .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, - + { + /* AIX NVDISK */ + .vendor = "AIX", + .product = "NVDISK", + .getuid = DEFAULT_GETUID, + .features = DEFAULT_FEATURES, + .hwhandler = "1 alua", + .selector = DEFAULT_SELECTOR, + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .rr_weight = RR_WEIGHT_NONE, + .no_path_retry = (300 / DEFAULT_CHECKINT), + .minio = DEFAULT_MINIO, + .checker_name = TUR, + .prio_name = PRIO_ALUA, + .prio_args = NULL, + }, { /* DELL MD3000 */ .vendor = "DELL", @@ -916,6 +932,7 @@ static struct hwentry default_hw[] = { .prio_name = PRIO_ALUA, .prio_args = NULL, }, + /* * SGI arrays * diff --git a/multipath.conf.defaults b/multipath.conf.defaults index 886a678..9f737aa 100644 --- a/multipath.conf.defaults +++ b/multipath.conf.defaults @@ -552,6 +552,47 @@ # prio_args "" # } # device { +# vendor "IBM" +# product "3303 NVDISK" +# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n" +# features "0" +# hardware_handler "0" +# path_grouping_policy failover +# failback immediate +# no_path_retry 60 +# rr_weight uniform +# rr_min_io 1000 +# path_checker tur +# } +# device { +# vendor "AIX" +# product "VDASD" +# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n" +# features "0" +# hardware_handler "0" +# path_grouping_policy multibus +# failback immediate +# no_path_retry 60 +# rr_weight uniform +# rr_min_io 1000 +# path_checker directio +# } +# device { +# vendor "AIX" +# product "NVDISK" +# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n" +# features "0" +# hardware_handler "1 alua" +# path_grouping_policy group_by_prio +# failback immediate +# no_path_retry 60 +# rr_weight uniform +# rr_min_io 1000 +# path_checker tur +# prio alua +# prio_args "" +# } +# device { # vendor "SGI" # product "TP9[13]00" # getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n" -- 2.7.4