From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Massimo Di Nitto Date: Mon, 05 Nov 2007 07:37:26 -0500 Subject: [Cluster-devel] [PATCH][RFC] add cman_qinit to libcman Message-ID: <472F0E86.1080703@ubuntu.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi guys, during the process of killing ccsd I noticed that almost all services that communicate with cman wait to talk to cman or for the cluster to quorate implementing over and over loops here and there. The patch in attachment (basically untested) implements a simple cman_w(ait)init call within libcman to take care of all of the above in one single call and it allows to set the kind of requested socket (admin or not), a connection to cman timeout, a quorum timeout and the standard privdata for cman_init and cman_admin_init. If this patch could go in HEAD, it will simplify a lot code within all the subsystems that need cman to be up and running and possibly a quorated cluster before they can work. Please consider for inclusion. Thanks Fabio -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cman_winit.diff URL: