From 8dd545ceaae661b2a50e6c39580301d6bee1c5e8c51f06418a1a1c41a9c75431 Mon Sep 17 00:00:00 2001 From: xia li Date: Wed, 24 Jul 2013 02:54:42 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=30 --- corosync_reduce_RR_priority.patch | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 corosync_reduce_RR_priority.patch diff --git a/corosync_reduce_RR_priority.patch b/corosync_reduce_RR_priority.patch deleted file mode 100644 index 3acabeb..0000000 --- a/corosync_reduce_RR_priority.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: corosync-1.4.4/exec/main.c -=================================================================== ---- corosync-1.4.4.orig/exec/main.c -+++ corosync-1.4.4/exec/main.c -@@ -1268,7 +1268,8 @@ static void corosync_setscheduler (void) - #if defined(HAVE_PTHREAD_SETSCHEDPARAM) && defined(HAVE_SCHED_GET_PRIORITY_MAX) && defined(HAVE_SCHED_SETSCHEDULER) - int res; - -- sched_priority = sched_get_priority_max (SCHED_RR); -+ /*use the minimal priority same as pacemaker */ -+ sched_priority = sched_get_priority_min (SCHED_RR); - if (sched_priority != -1) { - global_sched_param.sched_priority = sched_priority; - res = sched_setscheduler (0, SCHED_RR, &global_sched_param);