forked from pool/ocfs2-tools
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);
|