ocfs2-tools/bnc804707-reduce-RR-priority.patch
Tim Serong 9dc35c2df8 - reduce ocfs2_controld priority to RR(1). (bnc#804707)
+ bnc804707-reduce-RR-priority.patch
- Fix the race between udev making misc device node and ocfs2 
  opening that device (bnc#805764)
  + bug-805764-ocfs2-controld.patch
- ocfs2_controld: ocfs2_controld-pacemaker.diff -- changes to be
  compatible with pacemaker >= 1.1.8

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=55
2013-05-22 03:23:08 +00:00

14 lines
481 B
Diff

Index: ocfs2-tools/ocfs2_controld/main.c
===================================================================
--- ocfs2-tools.orig/ocfs2_controld/main.c
+++ ocfs2-tools/ocfs2_controld/main.c
@@ -1233,7 +1233,7 @@ static void set_scheduler(void)
struct sched_param sched_param;
int rv;
- rv = sched_get_priority_max(SCHED_RR);
+ rv = sched_get_priority_min(SCHED_RR);
if (rv != -1) {
sched_param.sched_priority = rv;
rv = sched_setscheduler(0, SCHED_RR, &sched_param);