All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Marzinski <bmarzins@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: [PATCH] multipath-tools: Change default configs to look for "hp_sw" not "hp-sw"
Date: Tue, 20 Oct 2009 13:20:42 -0500	[thread overview]
Message-ID: <20091020182042.GO3555@ether.msp.redhat.com> (raw)

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>
---
:100644 100644 2f1699f... a207fc6... M	libmultipath/hwtable.c
:100644 100644 fb1dd6c... d24a801... M	multipath.conf.defaults
 libmultipath/hwtable.c  |    4 ++--
 multipath.conf.defaults |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 2f1699f..a207fc6 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -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,
diff --git a/multipath.conf.defaults b/multipath.conf.defaults
index fb1dd6c..d24a801 100644
--- a/multipath.conf.defaults
+++ b/multipath.conf.defaults
@@ -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
-- 
1.6.5.rc2

                 reply	other threads:[~2009-10-20 18:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091020182042.GO3555@ether.msp.redhat.com \
    --to=bmarzins@redhat.com \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.