All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH][RFC] add cman_qinit to libcman
@ 2007-11-05 12:37 Fabio Massimo Di Nitto
  2007-11-05 12:52 ` [Cluster-devel] [PATCH][RFC] add cman_winit " Fabio Massimo Di Nitto
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Massimo Di Nitto @ 2007-11-05 12:37 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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: <http://listman.redhat.com/archives/cluster-devel/attachments/20071105/f374fd51/attachment.ksh>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-05 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 12:37 [Cluster-devel] [PATCH][RFC] add cman_qinit to libcman Fabio Massimo Di Nitto
2007-11-05 12:52 ` [Cluster-devel] [PATCH][RFC] add cman_winit " Fabio Massimo Di Nitto
2007-11-05 15:31   ` Lon Hohberger
2007-11-05 14:39     ` Patrick Caulfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.