cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: pcaulfield@sourceware.org <pcaulfield@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman-kernel/src cnxman.c
Date: 19 Jan 2007 10:24:46 -0000	[thread overview]
Message-ID: <20070119102446.14811.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	STABLE
Changes by:	pcaulfield at sourceware.org	2007-01-19 10:24:46

Modified files:
	cman-kernel/src: cnxman.c 

Log message:
	Tell SM when the quorum device comes or goes.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman-kernel/src/cnxman.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.42.2.12.4.1.2.13&r2=1.42.2.12.4.1.2.14

--- cluster/cman-kernel/src/Attic/cnxman.c	2006/12/18 11:37:53	1.42.2.12.4.1.2.13
+++ cluster/cman-kernel/src/Attic/cnxman.c	2007/01/19 10:24:46	1.42.2.12.4.1.2.14
@@ -4180,12 +4180,14 @@
 		if (quorum_device->state == NODESTATE_DEAD) {
 			quorum_device->state = NODESTATE_MEMBER;
 			recalculate_quorum(0);
+			sm_member_update(cluster_is_quorate);
 		}
 	}
 	else {
 		if (quorum_device->state == NODESTATE_MEMBER) {
 			quorum_device->state = NODESTATE_DEAD;
 			recalculate_quorum(0);
+			sm_member_update(cluster_is_quorate);
 		}
 	}
 



             reply	other threads:[~2007-01-19 10:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-19 10:24 pcaulfield [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-14 16:10 [Cluster-devel] cluster/cman-kernel/src cnxman.c pcaulfield
2007-11-01 10:44 pcaulfield
2007-04-02  8:03 pcaulfield
2007-03-30  7:50 pcaulfield
2007-02-27 10:38 pcaulfield
2007-02-27 10:37 pcaulfield
2007-01-19 10:23 pcaulfield

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=20070119102446.14811.qmail@sourceware.org \
    --to=pcaulfield@sourceware.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).