public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - gfs_controld: dlm_controld failure is cluster_dead
@ 2009-03-10 20:54 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2009-03-10 20:54 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=017303d85ab16c30464c43e4ca9041445cc40be4
Commit:        017303d85ab16c30464c43e4ca9041445cc40be4
Parent:        c532b00466cb076b803623245d2825dcbb3ea58c
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Tue Mar 10 13:49:03 2009 -0500
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Tue Mar 10 13:49:03 2009 -0500

gfs_controld: dlm_controld failure is cluster_dead

Losing the dlm_controld connection is equivalent to a cluster failure.

Signed-off-by: David Teigland <teigland@redhat.com>
---
 group/gfs_controld/main.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/group/gfs_controld/main.c b/group/gfs_controld/main.c
index 399ae41..b15698e 100644
--- a/group/gfs_controld/main.c
+++ b/group/gfs_controld/main.c
@@ -1115,13 +1115,6 @@ void cluster_dead(int ci)
 	cluster_down = 1;
 }
 
-static void dlmcontrol_dead(int ci)
-{
-	if (!list_empty(&mountgroups))
-		log_error("dlm_controld is gone");
-	client_dead(ci);
-}
-
 static void loop(void)
 {
 	int poll_timeout = -1;
@@ -1203,7 +1196,7 @@ static void loop(void)
 		rv = setup_dlmcontrol();
 		if (rv < 0)
 			goto out;
-		client_add(rv, process_dlmcontrol, dlmcontrol_dead);
+		client_add(rv, process_dlmcontrol, cluster_dead);
 
 	} else if (group_mode == GROUP_LIBGROUP) {
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-10 20:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-10 20:54 cluster: STABLE3 - gfs_controld: dlm_controld failure is cluster_dead David Teigland

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 read-only IMAP folder(s) and NNTP newsgroup(s).