[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Tue Feb 7 10:20:03 MST 2012
The branch, master has been updated
via 27f6421 s3: Increase debug level of basic ctdb packet handling
from e32ad9b s3-waf: Link tdbsam against needed libraries.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 27f6421fa6caecf832ec544e4d4115301e755556
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 7 16:41:25 2012 +0100
s3: Increase debug level of basic ctdb packet handling
This clutters the debug level 10 output significantly without much
value
Autobuild-User: Volker Lendecke <vl at samba.org>
Autobuild-Date: Tue Feb 7 18:19:08 CET 2012 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/lib/ctdbd_conn.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 95dda52..12b736d 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -95,10 +95,10 @@ static void cluster_fatal(const char *why)
*/
static void ctdb_packet_dump(struct ctdb_req_header *hdr)
{
- if (DEBUGLEVEL < 10) {
+ if (DEBUGLEVEL < 11) {
return;
}
- DEBUGADD(10, ("len=%d, magic=%x, vers=%d, gen=%d, op=%d, reqid=%d\n",
+ DEBUGADD(11, ("len=%d, magic=%x, vers=%d, gen=%d, op=%d, reqid=%d\n",
(int)hdr->length, (int)hdr->ctdb_magic,
(int)hdr->ctdb_version, (int)hdr->generation,
(int)hdr->operation, (int)hdr->reqid));
@@ -249,7 +249,7 @@ static bool ctdb_req_complete(const uint8_t *buf, size_t available,
msglen = *((uint32 *)buf);
- DEBUG(10, ("msglen = %d\n", msglen));
+ DEBUG(11, ("msglen = %d\n", msglen));
if (msglen < sizeof(struct ctdb_req_header)) {
DEBUG(0, ("Got invalid msglen: %d, expected at least %d for "
@@ -349,8 +349,8 @@ static struct messaging_rec *ctdb_pull_messaging_rec(TALLOC_CTX *mem_ctx,
return NULL;
}
- if (DEBUGLEVEL >= 10) {
- DEBUG(10, ("ctdb_pull_messaging_rec:\n"));
+ if (DEBUGLEVEL >= 11) {
+ DEBUG(11, ("ctdb_pull_messaging_rec:\n"));
NDR_PRINT_DEBUG(messaging_rec, result);
}
@@ -411,7 +411,7 @@ static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32 reqid,
hdr = (struct ctdb_req_header *)state.req.data;
- DEBUG(10, ("Received ctdb packet\n"));
+ DEBUG(11, ("Received ctdb packet\n"));
ctdb_packet_dump(hdr);
if (hdr->operation == CTDB_REQ_MESSAGE) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list