dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: bmarzins@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: multipath-tools ./multipath.conf.defaults libm ...
Date: 19 Aug 2009 21:52:41 -0000	[thread overview]
Message-ID: <20090819215241.13292.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/dm
Module name:	multipath-tools
Branch: 	RHEL5_FC6
Changes by:	bmarzins@sourceware.org	2009-08-19 21:52:40

Modified files:
	.              : multipath.conf.defaults 
	libmultipath   : hwtable.c 
	multipathd     : copy.c main.c 

Log message:
	added configuration for SUN 6540 storage arrays, and fixed missing arguments
	from condlog lines.

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.14&r2=1.5.4.15
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.19&r2=1.20.2.20
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/copy.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.2.2&r2=1.5.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/main.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.69.2.22&r2=1.69.2.23

--- multipath-tools/multipath.conf.defaults	2008/12/02 20:24:24	1.5.4.14
+++ multipath-tools/multipath.conf.defaults	2009/08/19 21:52:40	1.5.4.15
@@ -483,6 +483,21 @@
 #		rr_min_io		1000
 #               path_checker            tur
 #       }
+#	device {
+#		vendor                  "STK"
+#		product                 "FLEXLINE 380"
+#		product_blacklist       "Universal Xport"
+#		getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"
+#		prio_callout            "/sbin/mpath_prio_rdac /dev/%n"
+#		features                "0"
+#		hardware_handler        "1 rdac"
+#		path_grouping_policy    group_by_prio
+#		failback                immediate
+#		rr_weight               uniform
+#		no_path_retry           queue
+#		rr_min_io               1000
+#		path_checker            rdac
+#	}
 #       device {
 #               vendor                  "SUN"
 #               product                 "(StorEdge 3510|T4)"
--- multipath-tools/libmultipath/hwtable.c	2009/06/19 22:10:53	1.20.2.19
+++ multipath-tools/libmultipath/hwtable.c	2009/08/19 21:52:40	1.20.2.20
@@ -698,6 +698,23 @@
 		.minio         = DEFAULT_MINIO,
 		.checker_name  = TUR,
 	},
+	{
+		/* SUN 6540 */
+		.vendor        = "STK",
+		.product       = "FLEXLINE 380",
+		.bl_product    = "Universal Xport",
+		.getuid        = DEFAULT_GETUID,
+		.getprio       = "/sbin/mpath_prio_rdac /dev/%n",
+		.features      = DEFAULT_FEATURES,
+		.hwhandler     = "1 rdac",
+		.selector      = DEFAULT_SELECTOR,
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+		.minio         = DEFAULT_MINIO,
+		.checker_name  = RDAC,
+	},
 	/*
 	 * SUN arrays
 	 *
--- multipath-tools/multipathd/Attic/copy.c	2009/08/18 21:12:01	1.5.2.2
+++ multipath-tools/multipathd/Attic/copy.c	2009/08/19 21:52:40	1.5.2.3
@@ -25,7 +25,7 @@
 
 	if (fdin < 0) {
 		if (errno == ENOENT)
-			condlog(3, "callout %s does not exist, ignoring");
+			condlog(3, "callout %s does not exist, ignoring", src);
 		else
 			condlog(0, "[copy.c] cannot open %s", src);
 		return -1;
--- multipath-tools/multipathd/main.c	2009/08/18 21:12:01	1.69.2.22
+++ multipath-tools/multipathd/main.c	2009/08/19 21:52:40	1.69.2.23
@@ -1339,7 +1339,7 @@
 	vector_foreach_slot (conf->binvec, bin,i) {
 		if ((fd = open(bin, O_RDONLY)) < 0) {
 			if (errno == ENOENT)
-				condlog(3, "callout %s does not exist, ignoring");
+				condlog(3, "callout %s does not exist, ignoring", bin);
 			else
 				condlog(0, "cannot open %s : %s", bin,
 					strerror(errno));

             reply	other threads:[~2009-08-19 21:52 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19 21:52 bmarzins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-06-14 21:56 multipath-tools ./multipath.conf.defaults libm bmarzins
2011-01-21 16:57 bmarzins
2010-11-12 20:17 bmarzins
2010-09-21 18:06 bmarzins
2010-09-14 19:42 bmarzins
2010-09-03  3:46 bmarzins
2010-08-24 21:51 bmarzins
2010-08-09 21:35 bmarzins
2010-08-09 18:38 bmarzins
2010-02-10  4:11 bmarzins
2010-01-26  5:50 bmarzins
2009-12-02 19:15 bmarzins
2009-09-28 18:41 bmarzins
2009-09-28 18:28 bmarzins
2009-09-11 15:19 bmarzins
2009-01-15 22:47 bmarzins
2009-01-13 22:26 bmarzins
2008-08-29 18:30 bmarzins
2008-07-12 17:36 bmarzins
2008-07-12  2:44 bmarzins
2008-07-12  0:07 bmarzins
2008-01-03 20:16 bmarzins
2007-10-09 21:48 bmarzins
2007-09-11 18:06 bmarzins
2007-08-14 18:08 bmarzins
2007-08-14 18:23 ` S. J. van Harmelen
2007-05-07 17:59 bmarzins
2006-12-19 22:51 bmarzins

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=20090819215241.13292.qmail@sourceware.org \
    --to=bmarzins@sourceware.org \
    --cc=dm-cvs@sourceware.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).