[PATCH] CTDB protocol and client fixes
Jeremy Allison
jra at samba.org
Tue Nov 24 17:43:43 UTC 2015
On Tue, Nov 24, 2015 at 10:21:44AM +0100, Volker Lendecke wrote:
> On Tue, Nov 24, 2015 at 07:53:43PM +1100, Martin Schwenke wrote:
> > * Disallow nested event loops at compile time by not passing an
> > event context around. Then you need to create temporary event
> > contexts, do repeated set-up and tear-down and, depending on whose
> > eyes you are looking with, you end up with more complexity.
> >
> > * Do the setup once, use generic packet processing under the hood and
> > let tevent's run-time nesting detection catch the nesting if someone
> > writes bad code.
>
> For generic file server code it will take Metze and Jeremy
> to convince me that nested event loops are a requirement now
> again.
Noooooooooooooooooo ! Please let me die or retire before
adding these into smbd :-).
> I know that my mental capabilities are just too
> limited to debug them, sorry. Maybe I should have gotten my
> PhD in algebraic topology before I start coding Samba.
I *never* understood nested event loops. I don't
care how much math I've done. My brain doesn't
fit these concepts :-).
More information about the samba-technical
mailing list