[PATCH] Trim down remove_child_pid()

Ralph Boehme rb at sernet.de
Mon Nov 9 18:05:44 UTC 2015


Hi Volker,

On Mon, Nov 09, 2015 at 04:14:38PM +0100, Volker Lendecke wrote:
> This is the one where part of my latest patch stream comes
> from: We need to trim down remove_child_pid() to its barely
> necessary minimum. In particular, we need to avoid that the
> parent smbd has to talk to ctdbd, if possible at all.
> 
> We've had the case where the smb listener was stuck for
> ages, because ctdb was busy. We can't allow this to happen.
> 
> The attached patchset implements a helper process that does
> all the dirty work at process exit that remove_child_pid
> did.
> 
> In theory, we should also remove the 20-second thingy, but
> that does not really hurt and would be something for another
> day.
> 
> Comments?

reviewing...

-Ralph

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de



More information about the samba-technical mailing list