[PATCHES] CTDB patches
martin at meltin.net
Wed Jun 11 21:47:42 MDT 2014
On Tue, 10 Jun 2014 17:26:03 +1000, Amitay Isaacs <amitay at gmail.com>
> Trying to re-use some of the common code in CTDB helpers proved rather
> tedious due to lack of clear separation of functions.
> Here are the patches that separate ctdb independent utility functions so
> they can be re-used.
> First 20 patches are clean up patches. Last 2 patches are fixes.
> * ctdb-daemon: Do not complain if node is inactive and db is not attached
> This avoids extra log messages when CTDB is started as stopped and has
> not attached all the databases.
> * ctdb-daemon: Reset scheduler policy for helper processes
> This is a fix for regression. All the child processes created by CTDB
> should be run with normal scheduling priority. However changes from fork()
> to vfork(), caused the processes created with vfork() to be run at
> real-time priority.
> Patches are also available in my ctdb-wip branch.
Pushed to autobuild.
As discussed offline, I dropped your patch that changes some of the
utilities to use strdup/free instead of talloc, and added 2 patches
that change those functions to use stack variables instead.
peace & happiness,
More information about the samba-technical