[PATCH] Improve sock_daemon abstraction

Martin Schwenke martin at meltin.net
Tue Nov 21 04:00:52 UTC 2017


On Mon, 20 Nov 2017 16:55:02 +1100, Amitay Isaacs via samba-technical
<samba-technical at lists.samba.org> wrote:

> Here are a bunch of changes to sock_daemon abstraction.  Most of the
> changes are motivated by the design of new "service" daemons to be
> separated from ctdb daemon.
> 
> - Fix bug 13153 (missing tevent_wakeup_recv() and subreq not freed)
> - Return status from startup() and reconfigure() sock_daemon functions
> - Serialize startup sequence in sock_daemon
>    (This fixes a race condition in a test.)
> - Extend sock_daemon functions to include async callbacks for startup,
> reconfigure and shutdown
> - Corresponding test changes for new/updated functionality
> 
> Please review and push.

Reviewed-by: Martin Schwenke <martin at meltin.net>

Pushing shortly...

peace & happiness,
martin



More information about the samba-technical mailing list