[PATCH] Cache messaging dgm connections

Jeremy Allison jra at samba.org
Sat Sep 17 07:43:09 UTC 2016


On Fri, Sep 16, 2016 at 11:49:32PM -0700, Jeremy Allison wrote:
> On Sat, Sep 17, 2016 at 07:54:28AM +0200, Ralph Böhme wrote:
> > 
> > I'm now running autobuilds with it on sn-devel.
> 
> Yeah, the reinit after fork makes it hard to follow.
> 
> Here's a new version with pid's attached to the ev
> context debugs.
> 
> I think I've also found another issue we might have
> missed before.
> 
> In poll_funcs_context_slot_find() the logic for
> looking for a free slot (ctx == NULL) is tied
> up with the logic looking for an existing match
> (ctx->ev == ev).
> 
> I think that needs to be split so we look for
> an existing match, and only if not found do
> we look for a free slot, and if no free slot
> then we create one.
> 
> The last patch in this series has the fix
> for this.

Which is wrong :-). Getting tired - ignore
until I'm awake again (sorry).



More information about the samba-technical mailing list