[SCM] CTDB repository - branch master updated - ctdb-1.0.98-6-g87146db

Ronnie Sahlberg sahlberg at samba.org
Tue Oct 20 22:23:37 MDT 2009


The branch, master has been updated
       via  87146db2769c2ec494813685bf9cec0d2a6336c3 (commit)
      from  f76d6fed8f9630450263b9fa4b5fdf3493fb1e11 (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 87146db2769c2ec494813685bf9cec0d2a6336c3
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Wed Oct 21 15:26:24 2009 +1100

    lower the debug levels for the "create FD messages" so we dont fill up the logs.

-----------------------------------------------------------------------

Summary of changes:
 common/system_linux.c  |    2 +-
 server/ctdb_daemon.c   |    2 +-
 server/ctdb_recoverd.c |    2 +-
 server/eventscript.c   |    2 +-
 tcp/tcp_connect.c      |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/common/system_linux.c b/common/system_linux.c
index 999208d..d8229de 100644
--- a/common/system_linux.c
+++ b/common/system_linux.c
@@ -92,7 +92,7 @@ int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
 			return -1;
 		}
 
-		DEBUG(DEBUG_NOTICE, (__location__ " Created SOCKET FD:%d for sending arp\n", s));
+		DEBUG(DEBUG_DEBUG, (__location__ " Created SOCKET FD:%d for sending arp\n", s));
 		strncpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name));
 		if (ioctl(s, SIOCGIFINDEX, &ifr) < 0) {
 			DEBUG(DEBUG_CRIT,(__location__ " interface '%s' not found\n", iface));
diff --git a/server/ctdb_daemon.c b/server/ctdb_daemon.c
index f7ca28f..532887c 100644
--- a/server/ctdb_daemon.c
+++ b/server/ctdb_daemon.c
@@ -565,7 +565,7 @@ static void ctdb_accept_client(struct event_context *ev, struct fd_event *fde,
 	set_nonblocking(fd);
 	set_close_on_exec(fd);
 
-	DEBUG(DEBUG_NOTICE,(__location__ " Created SOCKET FD:%d to connected child\n", fd));
+	DEBUG(DEBUG_DEBUG,(__location__ " Created SOCKET FD:%d to connected child\n", fd));
 
 	client = talloc_zero(ctdb, struct ctdb_client);
 #ifdef _AIX
diff --git a/server/ctdb_recoverd.c b/server/ctdb_recoverd.c
index e301baa..08d7dc2 100644
--- a/server/ctdb_recoverd.c
+++ b/server/ctdb_recoverd.c
@@ -2522,7 +2522,7 @@ static int check_recovery_lock(struct ctdb_context *ctdb)
 	state->fd[1] = -1;
 	set_close_on_exec(state->fd[0]);
 
-	DEBUG(DEBUG_NOTICE, (__location__ " Created PIPE FD:%d for check_recovery_lock\n", state->fd[0]));
+	DEBUG(DEBUG_DEBUG, (__location__ " Created PIPE FD:%d for check_recovery_lock\n", state->fd[0]));
 
 	talloc_set_destructor(state, check_reclock_destructor);
 
diff --git a/server/eventscript.c b/server/eventscript.c
index f4c3626..e84f130 100644
--- a/server/eventscript.c
+++ b/server/eventscript.c
@@ -817,7 +817,7 @@ static int ctdb_event_script_callback_v(struct ctdb_context *ctdb,
 	close(state->fd[1]);
 	set_close_on_exec(state->fd[0]);
 
-	DEBUG(DEBUG_NOTICE, (__location__ " Created PIPE FD:%d to child eventscript process\n", state->fd[0]));
+	DEBUG(DEBUG_DEBUG, (__location__ " Created PIPE FD:%d to child eventscript process\n", state->fd[0]));
 
 	event_add_fd(ctdb->ev, state, state->fd[0], EVENT_FD_READ|EVENT_FD_AUTOCLOSE,
 		     ctdb_event_script_handler, state);
diff --git a/tcp/tcp_connect.c b/tcp/tcp_connect.c
index 2074860..c74487b 100644
--- a/tcp/tcp_connect.c
+++ b/tcp/tcp_connect.c
@@ -158,7 +158,7 @@ void ctdb_tcp_node_connect(struct event_context *ev, struct timed_event *te,
 	set_nonblocking(tnode->fd);
 	set_close_on_exec(tnode->fd);
 
-	DEBUG(DEBUG_NOTICE, (__location__ " Created TCP SOCKET FD:%d\n", tnode->fd));
+	DEBUG(DEBUG_DEBUG, (__location__ " Created TCP SOCKET FD:%d\n", tnode->fd));
 
 	/* Bind our side of the socketpair to the same address we use to listen
 	 * on incoming CTDB traffic.


-- 
CTDB repository


More information about the samba-cvs mailing list