[Openais] [PATCH] Add options to cfg service

Steven Dake sdake at redhat.com
Wed Oct 29 16:53:34 PDT 2008


Call api->fatal_error instead of exit.

make sure comments that are one liners use the format
/*
 * comment
 */

then good for commit

regards
-steve

On Wed, 2008-10-29 at 11:57 +0000, Christine Caulfield wrote:
> This patch adds two extra features to the CFG service in corosync, these
> are taken (conceptually at least) from cman.
> 
> 1. corosync_cfg_killnode()    this will tell a remote node to exit.
> 2. corosync_cfg_tryshutdown() this will do a semi-controlled shutdown in
> that it will consult any interested attached daemons if they are willing
> to let corosync be shut down. If they all agree then the rest of the
> cluster will be informed before the node dies.
> 
> I have simply called exit(100) in this patch, there might (I hope) be a
> better way of shutting down corosync!
> 
> Oh, and I apologise for the whitespace changes on some of the existing lines
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list