forked from pool/ocfs2-tools
23 lines
703 B
Diff
23 lines
703 B
Diff
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
|
|
|
|
|
|
|