This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/cman cman_tool/main.c daemon/cnxman-pr ...
- From: pcaulfield at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 15 Mar 2006 15:15:20 -0000
- Subject: cluster/cman cman_tool/main.c daemon/cnxman-pr ...
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield@sourceware.org 2006-03-15 15:15:20
Modified files:
cman/cman_tool : main.c
cman/daemon : cnxman-private.h cnxman-socket.h commands.c
config.c config.h daemon.c daemon.h logging.c
cman/tests : Makefile libtest.c
Log message:
two-phase cman shutdown.
calling cman_shutdown() will send a REASON_TRY_SHUTDOWN event to all
clients registered for notifications. They should respond by calling
cman_replyto_shutdown() to indicate whether they will allow
cman to closedown or not. if cman gets 1 "no" (0) or the
request times out (default 5 seconds) then shutdown will be
cancelled and cman_shutdown() will return -1 with errno == EBUSY.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/cman_tool/main.c.diff?cvsroot=cluster&r1=1.38&r2=1.39
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/cnxman-private.h.diff?cvsroot=cluster&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/cnxman-socket.h.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/commands.c.diff?cvsroot=cluster&r1=1.29&r2=1.30
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/config.c.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/config.h.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/daemon.c.diff?cvsroot=cluster&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/daemon.h.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/logging.c.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/tests/Makefile.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/tests/libtest.c.diff?cvsroot=cluster&r1=1.1&r2=1.2