multipath-tools: Change default configs to look for "hp_sw" not "hp-sw"
authorBenjamin Marzinski <bmarzins@redhat.com>
Tue, 20 Oct 2009 18:20:42 +0000 (13:20 -0500)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Tue, 20 Oct 2009 20:44:14 +0000 (22:44 +0200)
The kernel hp_sw handler now wants the hwhandler string to be "hp_sw", not
"hp-sw".  This fixes the default configs to match.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
libmultipath/hwtable.c
multipath.conf.defaults

index 2f1699f..a207fc6 100644 (file)
@@ -85,7 +85,7 @@ static struct hwentry default_hw[] = {
                .product       = "HSG80",
                .getuid        = DEFAULT_GETUID,
                .features      = "1 queue_if_no_path",
-               .hwhandler     = "1 hp-sw",
+               .hwhandler     = "1 hp_sw",
                .selector      = DEFAULT_SELECTOR,
                .pgpolicy      = GROUP_BY_PRIO,
                .pgfailback    = FAILBACK_UNDEF,
@@ -116,7 +116,7 @@ static struct hwentry default_hw[] = {
                .product       = "(MSA|HSV)1.0.*",
                .getuid        = DEFAULT_GETUID,
                .features      = "1 queue_if_no_path",
-               .hwhandler     = "1 hp-sw",
+               .hwhandler     = "1 hp_sw",
                .selector      = DEFAULT_SELECTOR,
                .pgpolicy      = GROUP_BY_PRIO,
                .pgfailback    = FAILBACK_UNDEF,
index fb1dd6c..d24a801 100644 (file)
@@ -54,7 +54,7 @@
 #              product                 "HSG80"
 #              getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
 #              features                "1 queue_if_no_path"
-#              hardware_handler        "1 hp-sw"
+#              hardware_handler        "1 hp_sw"
 #              path_selector           "round-robin 0"
 #              path_grouping_policy    multibus
 #              rr_weight               uniform
@@ -81,7 +81,7 @@
 #              product                 "(MSA|HSV)1.0.*"
 #              getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
 #              features                "1 queue_if_no_path"
-#              hardware_handler        "1 hp-sw"
+#              hardware_handler        "1 hp_sw"
 #              path_selector           "round-robin 0"
 #              path_grouping_policy    group_by_prio
 #              rr_weight               uniform