multipath-tools ./multipath.conf.defaults libm ...
authorbmarzins@sourceware.org <bmarzins@sourceware.org>
Mon, 9 Aug 2010 21:35:58 +0000 (21:35 +0000)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Thu, 2 Sep 2010 07:29:05 +0000 (09:29 +0200)
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
multipath.conf.defaults

index e4fe380..9933f76 100644 (file)
@@ -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
         *
index 886a678..9f737aa 100644 (file)
 #              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"