forked from pool/ocfs2-tools
9dc35c2df8
+ 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
14 lines
481 B
Diff
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);
|