From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29776 invoked by alias); 15 Mar 2006 15:15:22 -0000 Received: (qmail 29740 invoked by uid 9452); 15 Mar 2006 15:15:20 -0000 Date: Wed, 15 Mar 2006 15:15:00 -0000 Message-ID: <20060315151520.29738.qmail@sourceware.org> From: pcaulfield@sourceware.org To: cluster-cvs@sources.redhat.com Subject: cluster/cman cman_tool/main.c daemon/cnxman-pr ... Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00371.txt.bz2 List-Id: 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