The Samba-Bugzilla – Attachment 12679 Details for
Bug 12392
CTDBD child processes keep running at high priority on RHEL6 and RHEL7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Additional patch for v4-5
BZ12392-v4-5.patch (text/plain), 1.24 KB, created by
Amitay Isaacs
on 2016-11-21 01:53:40 UTC
(
hide
)
Description:
Additional patch for v4-5
Filename:
MIME Type:
Creator:
Amitay Isaacs
Created:
2016-11-21 01:53:40 UTC
Size:
1.24 KB
patch
obsolete
>From 985fb24dcabf3b22adc8822559fc5b3c52d0b9e0 Mon Sep 17 00:00:00 2001 >From: Amitay Isaacs <amitay@gmail.com> >Date: Thu, 17 Nov 2016 16:10:51 +1100 >Subject: [PATCH] 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@gmail.com> >Reviewed-by: Martin Schwenke <martin@meltin.net> > >Autobuild-User(master): Martin Schwenke <martins@samba.org> >Autobuild-Date(master): Fri Nov 18 10:18:27 CET 2016 on sn-devel-144 > >(cherry picked from commit 6c6d63c04497fdfdbe665508f2a503f2392dc526) >--- > ctdb/server/ctdb_lock_helper.c | 2 ++ > 1 file changed, 2 insertions(+) > >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) { >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
martins
:
review+
Actions:
View
Attachments on
bug 12392
:
12601
|
12602
|
12678
| 12679