dlm: master - dlm_controld: retry processing lockspace for ringid

David Teigland teigland at fedoraproject.org
Tue Feb 5 22:22:40 UTC 2013


Gitweb:        http://git.fedorahosted.org/git/?p=dlm.git;a=commitdiff;h=6368f44ec16c9ce8a61c2304729930cbae55388d
Commit:        6368f44ec16c9ce8a61c2304729930cbae55388d
Parent:        cbc0685865996ced65f5b52f037d32d838d63570
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Thu Jan 31 11:41:13 2013 -0600
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Thu Jan 31 11:41:13 2013 -0600

dlm_controld: retry processing lockspace for ringid

When waiting for ringids to match, we should set
poll_lockspaces so that we'll go back to attempt
ls recovery once the ringids do match.

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 487887c..f2582a8 100644
--- a/dlm_controld/cpg.c
+++ b/dlm_controld/cpg.c
@@ -608,6 +608,7 @@ static int wait_conditions_done(struct lockspace *ls)
 		ls->wait_retry++;
 		/* the check function logs a message */
 
+		poll_lockspaces++;
 		return 0;
 	}
 


More information about the cluster-commits mailing list