[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/rgmanager ChangeLog src/daemons/groups ...



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh sourceware org	2007-07-10 18:24:00

Modified files:
	rgmanager      : ChangeLog 
	rgmanager/src/daemons: groups.c rg_thread.c 

Log message:
	Resolves: 247488

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/ChangeLog.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.31.2.18&r2=1.31.2.19
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/groups.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.25.2.8&r2=1.25.2.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.15.2.6&r2=1.15.2.7

--- cluster/rgmanager/ChangeLog	2007/07/02 15:13:42	1.31.2.18
+++ cluster/rgmanager/ChangeLog	2007/07/10 18:24:00	1.31.2.19
@@ -1,3 +1,7 @@
+2007-07-10 Lon Hohberger <lhh at redhat.com>
+	* src/daemons/rg_thread.c, groups.c: Make status queue max 1 instead
+	of unbounded (resolves: 247488)
+
 2007-06-29 Lon Hohberger <lhh at redhat.com>
 	* src/daemons/groups.c, rg_state.c: Make all test cases for #237144
 	work correctly
--- cluster/rgmanager/src/daemons/groups.c	2007/07/02 15:13:43	1.25.2.8
+++ cluster/rgmanager/src/daemons/groups.c	2007/07/10 18:24:00	1.25.2.9
@@ -1188,7 +1188,7 @@
 			continue;
 
 		rt_enqueue_request(rg, RG_STATUS,
-				   NULL, 0, 0, 0, 0);
+				   NULL, 1, 0, 0, 0);
 
 	} while (!list_done(&_tree, curr));
 
--- cluster/rgmanager/src/daemons/rg_thread.c	2007/06/26 21:55:46	1.15.2.6
+++ cluster/rgmanager/src/daemons/rg_thread.c	2007/07/10 18:24:00	1.15.2.7
@@ -658,7 +658,6 @@
 			} while (!list_done(resgroup->rt_queue, curr));
 	
 			if (count >= max) {
-				pthread_cond_broadcast(resgroup->rt_queue_cond);
 				pthread_mutex_unlock(resgroup->rt_queue_mutex);
 				pthread_mutex_unlock(&reslist_mutex);
 				/*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]