[SCM] Samba Shared Repository - branch master updated
Martin Schwenke
martins at samba.org
Fri Nov 18 09:19:02 UTC 2016
The branch, master has been updated
via 6c6d63c ctdb-locking: Reset real-time priority in lock helper
from 318a8ec Update .ycm_extra_conf.py
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 6c6d63c04497fdfdbe665508f2a503f2392dc526
Author: Amitay Isaacs <amitay at gmail.com>
Date: Thu Nov 17 16:10:51 2016 +1100
ctdb-locking: Reset real-time priority in lock helper
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12392
Earlier we were relying on SCHED_RESET_ON_FORK to reset the priority of lock
helper processes. Since SCHED_RESET_ON_FORK support has been removed, the
scheduling priority of child processes created using vfork() need to be reset
explicitly in the helper processes.
Signed-off-by: Amitay Isaacs <amitay at gmail.com>
Reviewed-by: Martin Schwenke <martin at meltin.net>
Autobuild-User(master): Martin Schwenke <martins at samba.org>
Autobuild-Date(master): Fri Nov 18 10:18:27 CET 2016 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
ctdb/server/ctdb_lock_helper.c | 2 ++
1 file changed, 2 insertions(+)
Changeset truncated at 500 lines:
diff --git a/ctdb/server/ctdb_lock_helper.c b/ctdb/server/ctdb_lock_helper.c
index e41d230..8aa0870 100644
--- a/ctdb/server/ctdb_lock_helper.c
+++ b/ctdb/server/ctdb_lock_helper.c
@@ -166,6 +166,8 @@ int main(int argc, char *argv[])
int ppid;
const char *lock_type;
+ reset_scheduler();
+
progname = argv[0];
if (argc < 5) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list