Linux Device Mapper development
 help / color / mirror / Atom feed
From: bmarzins@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: multipath-tools ./multipath.conf.annotated ./m ...
Date: 10 Oct 2011 04:15:42 -0000	[thread overview]
Message-ID: <20111010041542.4123.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/dm
Module name:	multipath-tools
Branch: 	RHEL5_FC6
Changes by:	bmarzins@sourceware.org	2011-10-10 04:15:42

Modified files:
	.              : multipath.conf.annotated 
	                 multipath.conf.defaults 
	libmultipath   : dict.c 
	multipathd     : main.c 

Log message:
	Fix for BZs #702410, #711970, and #715524
	
	Various small cleanups.  Keep mutipath from complaining when it fails to add
	non-multipath devices. Allow "path_selector" or "selector" in the defaults
	section of multipath.conf. Document file_timeout option. Not applicable
	upstream.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.annotated.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.18.2.18&r2=1.18.2.19
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.29&r2=1.5.4.30
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/dict.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.17.2.19&r2=1.17.2.20
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/main.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.69.2.36&r2=1.69.2.37

--- multipath-tools/multipath.conf.annotated	2011/02/18 18:27:00	1.18.2.18
+++ multipath-tools/multipath.conf.annotated	2011/10/10 04:15:41	1.18.2.19
@@ -260,6 +260,16 @@
 #      # default : determined by the OS
 #      dev_loss_tmo 600
 #
+#      #
+#      # name    : file_timeout
+#      # scope   : multipath & multipathd
+#      # desc    : The number of seconds that multipath will wait for
+#      #           necessary files to appear while setting up a multipath
+#      #           devices.
+#      # values  : n > 0
+#      # default : 90
+#      file_timeout 30
+#
 #}
 #	
 ##
--- multipath-tools/multipath.conf.defaults	2011/03/07 05:19:36	1.5.4.29
+++ multipath-tools/multipath.conf.defaults	2011/10/10 04:15:41	1.5.4.30
@@ -16,6 +16,7 @@
 #	user_friendly_names	no
 #	pg_prio_calc		sum
 #	bindings_file           "/var/lib/multipath/bindings"
+#	file_timeout		90
 #}
 #
 #blacklist {
--- multipath-tools/libmultipath/dict.c	2011/04/05 18:41:45	1.17.2.19
+++ multipath-tools/libmultipath/dict.c	2011/10/10 04:15:41	1.17.2.20
@@ -2150,7 +2150,8 @@
 ;
 	install_keyword("polling_interval", &polling_interval_handler, &snprint_def_polling_interval);
 	install_keyword("udev_dir", &udev_dir_handler, &snprint_def_udev_dir);
-	install_keyword("selector", &def_selector_handler, &snprint_def_selector);
+	install_keyword("selector", &def_selector_handler, NULL);
+	install_keyword("path_selector", &def_selector_handler, &snprint_def_selector);
 	install_keyword("path_grouping_policy", &def_pgpolicy_handler, &snprint_def_path_grouping_policy);
 	install_keyword("getuid_callout", &def_getuid_callout_handler, &snprint_def_getuid_callout);
 	install_keyword("prio_callout", &def_prio_callout_handler, &snprint_def_getprio_callout);
--- multipath-tools/multipathd/main.c	2011/10/10 03:47:07	1.69.2.36
+++ multipath-tools/multipathd/main.c	2011/10/10 04:15:41	1.69.2.37
@@ -227,7 +227,8 @@
 uev_add_map (char * devname, struct vectors * vecs)
 {
 	condlog(2, "%s: add map (uevent)", devname);
-	return ev_add_map(devname, vecs);
+	ev_add_map(devname, vecs);
+	return 0;
 }
 
 int

             reply	other threads:[~2011-10-10  4:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10  4:15 bmarzins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-17  0:46 multipath-tools ./multipath.conf.annotated ./m bmarzins
2008-09-08 22:01 bmarzins
2008-09-04 20:09 bmarzins
2008-08-25 20:59 bmarzins
2008-04-14 22:40 bmarzins
2008-04-14 22:32 bmarzins
2008-01-25 22:30 wysochanski
2008-01-15  1:34 bmarzins
2007-12-03 18:42 bmarzins
2007-10-19 21:41 bmarzins
2007-10-11 20:17 bmarzins
2007-06-19 18:12 bmarzins
2007-01-15 21:52 bmarzins
2007-01-10 20:08 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=20111010041542.4123.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