All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Massimo Di Nitto <fabbione@ubuntu.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH][RFC] add cman_qinit to libcman
Date: Mon, 05 Nov 2007 07:37:26 -0500	[thread overview]
Message-ID: <472F0E86.1080703@ubuntu.com> (raw)

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>

             reply	other threads:[~2007-11-05 12:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-05 12:37 Fabio Massimo Di Nitto [this message]
2007-11-05 12:52 ` [Cluster-devel] [PATCH][RFC] add cman_winit to libcman Fabio Massimo Di Nitto
2007-11-05 15:31   ` Lon Hohberger
2007-11-05 14:39     ` Patrick Caulfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472F0E86.1080703@ubuntu.com \
    --to=fabbione@ubuntu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.