public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 lib/locking/locking.c ./WHATS_NEW
@ 2008-10-24  1:16 agk
  0 siblings, 0 replies; only message in thread
From: agk @ 2008-10-24  1:16 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2008-10-24 01:16:17

Modified files:
	lib/locking    : locking.c 
	.              : WHATS_NEW 

Log message:
	Accept locking fallback_to_* options in the global section as documented.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/locking.c.diff?cvsroot=lvm2&r1=1.50&r2=1.51
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.980&r2=1.981

--- LVM2/lib/locking/locking.c	2008/09/10 10:14:59	1.50
+++ LVM2/lib/locking/locking.c	2008/10/24 01:16:16	1.51
@@ -233,7 +233,8 @@
 				return 1;
 		}
 		if (!find_config_tree_int(cmd, "locking/fallback_to_clustered_locking",
-					  DEFAULT_FALLBACK_TO_CLUSTERED_LOCKING))
+			    find_config_tree_int(cmd, "global/fallback_to_clustered_locking",
+						 DEFAULT_FALLBACK_TO_CLUSTERED_LOCKING)))
 			break;
 #endif
 
@@ -255,7 +256,8 @@
 
 	if ((type == 2 || type == 3) &&
 	    find_config_tree_int(cmd, "locking/fallback_to_local_locking",
-				 DEFAULT_FALLBACK_TO_LOCAL_LOCKING)) {
+	    	    find_config_tree_int(cmd, "global/fallback_to_local_locking",
+					 DEFAULT_FALLBACK_TO_LOCAL_LOCKING))) {
 		log_warn("WARNING: Falling back to local file-based locking.");
 		log_warn("Volume Groups with the clustered attribute will "
 			  "be inaccessible.");
--- LVM2/WHATS_NEW	2008/10/23 11:21:04	1.980
+++ LVM2/WHATS_NEW	2008/10/24 01:16:16	1.981
@@ -1,5 +1,6 @@
 Version 2.02.42 - 
 ===================================
+  Accept locking fallback_to_* options in the global section as documented.
   Fix temp table activation in mirror conversions not to happen in other cmds.
   Fix temp table in mirror conversions to use always-present error not zero.
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-24  1:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-24  1:16 LVM2 lib/locking/locking.c ./WHATS_NEW agk

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 read-only IMAP folder(s) and NNTP newsgroup(s).