Cluster Project branch, master, updated. cluster-2.99.05-67-g7c2bac8
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".
The branch, master has been updated
via 7c2bac805f3a60b320a9c95d7be6bcfdf9302bfe (commit)
from 0dcc5e557008df4d51aef891ebfb998a34785f04 (commit)Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 7c2bac805f3a60b320a9c95d7be6bcfdf9302bfe
Author: David Teigland <[email protected]> Date: Fri Jul 11 13:39:38 2008 -0500
groupd: sync daemon setup/structure with others
This daemon is defunct, but will continue to exist for back compat cases, so put code in sync with other daemons.
-----------------------------------------------------------------------
Summary of changes:
group/daemon/Makefile | 3 +- group/daemon/cman.c | 65 +++++++---- group/daemon/cpg.c | 6 +- group/daemon/gd_internal.h | 53 ++++----- group/daemon/groupd.h | 1 + group/daemon/main.c | 291 +++++++++++++++++++++----------------------- group/tool/main.c | 2 - 7 files changed, 212 insertions(+), 209 deletions(-)
group/daemon/Makefile +2 -1
@@ -16,10 +16,11 @@ OBJS= app.o \ joinleave.o \ main.o -CFLAGS += -I${cmanincdir} -I${openaisincdir} +CFLAGS += -I${ccsincdir} -I${cmanincdir} -I${openaisincdir} CFLAGS += -I$(S) -I$(S)/../include/ -I$(S)/../lib/ CFLAGS += -I${incdir} +LDFLAGS += -L${ccslibdir} -lccs LDFLAGS += -L${cmanlibdir} -L${openaislibdir} -L${libdir} -lcman -lcpg
group/daemon/cman.c +42 -23
113 lines not on this page · raw message
group/daemon/cpg.c +3 -3
@@ -325,7 +325,7 @@ void deliver_cb(cpg_handle_t handle, struct cpg_name *group_name, g =find_group_level (name, msg->ms_level);if (!g) { -if (groupd_debug_verbose >1 ) { +if (daemon_debug_verbose >1 ) { log_print("%d:%s RECV len %d %s from %d, " "no group", msg->ms_level, name, data_len,
@@ -347,7 +347,7 @@ void deliver_cb(cpg_handle_t handle, struct cpg_name *group_name, } } -if (groupd_debug_verbose >1 ) +if (daemon_debug_verbose >1 )log_group (g,"RECV len %d %s from %d" , data_len,msg_type (msg->ms_type), nodeid);
@@ -669,7 +669,7 @@ static int _send_message(cpg_handle_t h, group_t *g, void *buf, int len)int send_message_groupd (group_t *g,void *buf,int len,int type) { -if (groupd_debug_verbose >1 ) +if (daemon_debug_verbose >1 )log_group (g,"SEND len %d %s" , len,msg_type (type));return _send_message (groupd_handle, g, buf, len);
group/daemon/gd_internal.h +25 -28
91 lines not on this page · raw message
group/daemon/groupd.h +1 -0
@@ -8,5 +8,6 @@#define GROUPD_MSGLEN (2200)/* should be enough to permit group_send() of up to 2048 bytes of data plus header info */ +#define GROUPD_DUMP_SIZE (1024 * 1024)#endif
group/daemon/main.c +139 -152
503 lines not on this page · raw message
group/tool/main.c +0 -2
@@ -23,8 +23,6 @@#define MAX_MG 128#define MAX_GROUPS 128 -#define GROUPD_DUMP_SIZE (1024 * 1024) -#define OP_LIST 1#define OP_DUMP 2#define OP_LOG 3
hooks/post-receive
--
Cluster Project