Re: [libvirt] [PATCH] Revert "virthread: Introduce virRWLockInitPreferWriter"

2017-07-25 Thread Daniel P. Berrange
On Tue, Jul 25, 2017 at 10:43:50AM +0200, Michal Privoznik wrote: > This reverts commit 328bd24443d2a345a5832ee48ebba0208f8036ea. > > As it turns out, this is not portable and very Linux & glibc > specific. Worse, this may lead to not starving writers on Linux > but everywhere else. Revert this

[libvirt] [PATCH] Revert "virthread: Introduce virRWLockInitPreferWriter"

2017-07-25 Thread Michal Privoznik
This reverts commit 328bd24443d2a345a5832ee48ebba0208f8036ea. As it turns out, this is not portable and very Linux & glibc specific. Worse, this may lead to not starving writers on Linux but everywhere else. Revert this and if the starvation occurs resolve it. Signed-off-by: Michal Privoznik