File ocfs2_controld-retry-470741.diff of Package ocfs2-tools

From: lmb@suse.de
References: bnc#470741

ocfs2_controld.pcmk does not retry often enough for some situations, and
thus fails to start. This tentative patch "masks" this by simply
retrying much more often.

Index: ocfs2-tools/ocfs2_controld/ckpt.c
===================================================================
--- ocfs2-tools.orig/ocfs2_controld/ckpt.c
+++ ocfs2-tools/ocfs2_controld/ckpt.c
@@ -32,8 +32,8 @@
  * A tentative retry is something we don't want to spend a lot of time on;
  * it works or we error.  A serious retry we really want to complete.
  */
-#define TENTATIVE_RETRY_TRIES	2
-#define SERIOUS_RETRY_TRIES	5
+#define TENTATIVE_RETRY_TRIES	20
+#define SERIOUS_RETRY_TRIES	50
 
 
 
openSUSE Build Service is sponsored by