Delete no longer needed patch
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
This commit is contained in:
parent
81a2f52716
commit
dca2a96fb2
@ -1,30 +0,0 @@
|
||||
From 2740cfd1eac60714601c74df2137fe588b607866 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Chapman <mike@very.puzzling.org>
|
||||
Date: Mon, 19 Aug 2013 01:30:15 +0000
|
||||
Subject: [PATCH] Fix scheduler pause-detection timeout
|
||||
|
||||
qb_loop_timer_add expects the timeout to be in nanoseconds, but we were
|
||||
passing the value in milliseconds. Scale the timeout appropriately.
|
||||
|
||||
Signed-off-by: Michael Chapman <mike@very.puzzling.org>
|
||||
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
|
||||
---
|
||||
exec/main.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/exec/main.c b/exec/main.c
|
||||
index 65b28c2..6c69ee5 100644
|
||||
--- a/exec/main.c
|
||||
+++ b/exec/main.c
|
||||
@@ -824,7 +824,7 @@ static void timer_function_scheduler_timeout (void *data)
|
||||
timeout_data->max_tv_diff = timeout_data->totem_config->token_timeout * QB_TIME_NS_IN_MSEC * 0.8;
|
||||
qb_loop_timer_add (corosync_poll_handle,
|
||||
QB_LOOP_MED,
|
||||
- timeout_data->totem_config->token_timeout / 3,
|
||||
+ timeout_data->totem_config->token_timeout * QB_TIME_NS_IN_MSEC / 3,
|
||||
timeout_data,
|
||||
timer_function_scheduler_timeout,
|
||||
&timeout_data->handle);
|
||||
--
|
||||
1.7.1
|
||||
|
Loading…
Reference in New Issue
Block a user