From fdf599535f93181d89fabcade2d3c8a625231775 Mon Sep 17 00:00:00 2001 From: David Teigland Date: May 08 2020 20:43:55 +0000 Subject: disable high_priority SCHED_RR by default in both sanlock and wdmd Setting the scheduler does not work with the default system setup. --- diff --git a/src/sanlock_internal.h b/src/sanlock_internal.h index 381b0e6..cd4d23a 100644 --- a/src/sanlock_internal.h +++ b/src/sanlock_internal.h @@ -319,7 +319,7 @@ EXTERN struct client *client; #define DEFAULT_IO_TIMEOUT 10 #define DEFAULT_GRACE_SEC 40 #define DEFAULT_USE_WATCHDOG 1 -#define DEFAULT_HIGH_PRIORITY 1 +#define DEFAULT_HIGH_PRIORITY 0 #define DEFAULT_MLOCK_LEVEL 1 /* 1=CURRENT, 2=CURRENT|FUTURE */ #define DEFAULT_SOCKET_UID 0 #define DEFAULT_SOCKET_GID 0 diff --git a/wdmd/main.c b/wdmd/main.c index edd15e8..aebacbe 100644 --- a/wdmd/main.c +++ b/wdmd/main.c @@ -44,7 +44,7 @@ #define DEFAULT_TEST_INTERVAL 10 #define RECOVER_TEST_INTERVAL 1 #define DEFAULT_FIRE_TIMEOUT 60 -#define DEFAULT_HIGH_PRIORITY 1 +#define DEFAULT_HIGH_PRIORITY 0 /* * If the group name specified here, or specified on the