corosync/totemconfig-change-minimum-RRP-threshold.patch
Jan Friesse f0be19d9db Import fixes from upstream
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
2011-09-08 10:08:06 +02:00

31 lines
964 B
Diff

From b1aba94732edc2ff084b7dd559a08b687f464ed0 Mon Sep 17 00:00:00 2001
From: Jan Friesse <jfriesse@redhat.com>
Date: Thu, 8 Sep 2011 09:40:04 +0200
Subject: [PATCH] totemconfig: change minimum RRP threshold
RRP threshold can be lower value then 5.
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
(cherry picked from commit f6c2a8dab786c50ece36dd3424e258e93a1000d3)
---
exec/totemconfig.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/exec/totemconfig.c b/exec/totemconfig.c
index f767f69..a475bb3 100644
--- a/exec/totemconfig.c
+++ b/exec/totemconfig.c
@@ -82,7 +82,7 @@
#define MISS_COUNT_CONST 5
#define RRP_PROBLEM_COUNT_TIMEOUT 2000
#define RRP_PROBLEM_COUNT_THRESHOLD_DEFAULT 10
-#define RRP_PROBLEM_COUNT_THRESHOLD_MIN 5
+#define RRP_PROBLEM_COUNT_THRESHOLD_MIN 2
#define RRP_AUTORECOVERY_CHECK_TIMEOUT 1000
static char error_string_response[512];
--
1.7.1