summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-10-26 17:51:09 +0200
committerVolker Lendecke <vlendec@samba.org>2011-10-27 20:28:31 +0200
commit195ae03950b8130b8c3caed65123c87882af595e (patch)
treeaea89db51ddd5368b829dfabb33e7431839c1020 /source3/lib
parent4a96b629a69d06abe73490f03bf6d62cdda08cd6 (diff)
downloadsamba-195ae03950b8130b8c3caed65123c87882af595e.tar.gz
samba-195ae03950b8130b8c3caed65123c87882af595e.tar.bz2
samba-195ae03950b8130b8c3caed65123c87882af595e.zip
s3-ctdb: Add debug to ctdb_processes_exist
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 7733f1ecd8..8bd7caffb9 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -950,6 +950,10 @@ bool ctdb_processes_exist(struct ctdbd_connection *conn,
ZERO_STRUCT(req);
+ DEBUG(10, ("Requesting PID %d/%d, reqid=%d\n",
+ (int)pids[i].vnn, (int)pids[i].pid,
+ (int)reqids[i]));
+
req.hdr.length = offsetof(struct ctdb_req_control, data);
req.hdr.length += sizeof(pid_t);
req.hdr.ctdb_magic = CTDB_MAGIC;
@@ -1004,6 +1008,8 @@ bool ctdb_processes_exist(struct ctdbd_connection *conn,
reqid = reply->hdr.reqid;
+ DEBUG(10, ("Received reqid %d\n", (int)reqid));
+
for (i=0; i<num_pids; i++) {
if (reqid == reqids[i]) {
break;