dlm: master - dlm_controld: poll lockspace recovery while waiting for quorum

David Teigland teigland at fedoraproject.org
Tue May 1 20:41:39 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=995ead49d7aeab6c3e65a55119976ae85a4d3767
Commit:        995ead49d7aeab6c3e65a55119976ae85a4d3767
Parent:        77565cca9f99167e1aa04b7608afd9b8f60f1bee
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Tue May 1 15:40:26 2012 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Tue May 1 15:40:26 2012 -0500

dlm_controld: poll lockspace recovery while waiting for quorum

Was getting stuck when quorum was regained.

Signed-off-by: David Teigland <teigland at redhat.com>
---
 dlm_controld/cpg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlm_controld/cpg.c b/dlm_controld/cpg.c
index 6e508d2..0318b98 100644
--- a/dlm_controld/cpg.c
+++ b/dlm_controld/cpg.c
@@ -598,6 +598,7 @@ static int wait_conditions_done(struct lockspace *ls)
 	if (opt(enable_quorum_lockspace_ind) && !cluster_quorate) {
 		log_group(ls, "wait for quorum");
 		ls->wait_debug = DLMC_LS_WAIT_QUORUM;
+		poll_lockspaces++;
 		return 0;
 	}
 


More information about the cluster-commits mailing list