This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch test-sched
in repository sanlock.
commit fdf599535f93181d89fabcade2d3c8a625231775
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Fri May 8 15:22:17 2020 -0500
disable high_priority SCHED_RR by default
in both sanlock and wdmd
Setting the scheduler does not work with the default system setup.
---
src/sanlock_internal.h | 2 +-
wdmd/main.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.