Re: [PATCH] Make sure all the pollers get fd updates

2018-05-17 Thread Willy Tarreau
On Thu, May 17, 2018 at 07:37:10PM +0200, Olivier Houchard wrote: > Here is a patch that should do the same for 1.8. Pretty cool, thank you. Now I think we'll have about everything we wanted to emit a new 1.8. Willy

Re: [PATCH] Make sure all the pollers get fd updates

2018-05-17 Thread Olivier Houchard
Hi, On Fri, May 04, 2018 at 05:32:24PM +0200, Olivier Houchard wrote: > Hi, > > When the code was changed to use one poller per thread, we overlooked the > fact that some fds can be shared between multiple threads, and when one > event occured, that required the fd to be added or removed from

Re: [PATCH] Make sure all the pollers get fd updates

2018-05-05 Thread Willy Tarreau
Hi Olivier, On Fri, May 04, 2018 at 05:32:24PM +0200, Olivier Houchard wrote: > This can't be applied to 1.8, as it uses code that was not, and probably won't > be, backported, so a different patch, similar in spirit, will be developed. Thanks for these patches. Now applied. I mentioned the

[PATCH] Make sure all the pollers get fd updates

2018-05-04 Thread Olivier Houchard
Hi, When the code was changed to use one poller per thread, we overlooked the fact that some fds can be shared between multiple threads, and when one event occured, that required the fd to be added or removed from the poller, the information would be sent only to the current thread, the other