cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] cluster/group/dlm_controld main.c
@ 2006-07-13 19:49 teigland
  0 siblings, 0 replies; 3+ messages in thread
From: teigland @ 2006-07-13 19:49 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland at sourceware.org	2006-07-13 19:49:02

Modified files:
	group/dlm_controld: main.c 

Log message:
	debug print of the full uevent string from the kernel

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/dlm_controld/main.c.diff?cvsroot=cluster&r1=1.1&r2=1.2

--- cluster/group/dlm_controld/main.c	2006/06/09 20:59:57	1.1
+++ cluster/group/dlm_controld/main.c	2006/07/13 19:49:02	1.2
@@ -87,6 +87,8 @@
 	if (!strstr(buf, "dlm"))
 		return 0;
 
+	log_debug("uevent: %s", buf);
+
 	make_args(buf, &argc, argv, '/');
 	act = argv[0];
 	sys = argv[2];



^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Cluster-devel] cluster/group/dlm_controld main.c
@ 2006-11-15 14:33 teigland
  0 siblings, 0 replies; 3+ messages in thread
From: teigland @ 2006-11-15 14:33 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland at sourceware.org	2006-11-15 14:33:06

Modified files:
	group/dlm_controld: main.c 

Log message:
	uncomment scheduler settings
	fix sched_priority from sdake

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/dlm_controld/main.c.diff?cvsroot=cluster&r1=1.6&r2=1.7

--- cluster/group/dlm_controld/main.c	2006/10/24 16:16:31	1.6
+++ cluster/group/dlm_controld/main.c	2006/11/15 14:33:06	1.7
@@ -389,7 +389,6 @@
 	}
 }
 
-#if 0
 void set_scheduler(void)
 {
 	struct sched_param sched_param;
@@ -397,7 +396,7 @@
 
 	rv = sched_get_priority_max(SCHED_RR);
 	if (rv != -1) {
-		sched_param.sched_priority = 2;
+		sched_param.sched_priority = rv;
 		rv = sched_setscheduler(0, SCHED_RR, &sched_param);
 		if (rv == -1)
 			log_error("could not set SCHED_RR priority %d err %d",
@@ -407,7 +406,6 @@
 			  errno);
 	}
 }
-#endif
 
 int main(int argc, char **argv)
 {
@@ -420,9 +418,7 @@
 	if (!daemon_debug_opt)
 		daemonize();
 
-#if 0
 	set_scheduler();
-#endif
 
 	return loop();
 }



^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Cluster-devel] cluster/group/dlm_controld main.c
@ 2007-10-26 21:03 teigland
  0 siblings, 0 replies; 3+ messages in thread
From: teigland @ 2007-10-26 21:03 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland at sourceware.org	2007-10-26 21:03:08

Modified files:
	group/dlm_controld: main.c 

Log message:
	don't setup netlink if deadlock is disabled

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/dlm_controld/main.c.diff?cvsroot=cluster&r1=1.14&r2=1.15

--- cluster/group/dlm_controld/main.c	2007/08/17 21:17:53	1.14
+++ cluster/group/dlm_controld/main.c	2007/10/26 21:03:08	1.15
@@ -634,6 +634,10 @@
 		goto out;
 	client_add(rv, process_member, cluster_dead);
 
+	/* netlink stuff is only used for deadlock detection */
+	if (!deadlock_enabled)
+		goto for_loop;
+
 	rv = setup_netlink();
 	if (rv < 0)
 		goto for_loop;



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-26 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-13 19:49 [Cluster-devel] cluster/group/dlm_controld main.c teigland
  -- strict thread matches above, loose matches on Subject: below --
2006-11-15 14:33 teigland
2007-10-26 21:03 teigland

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).