[PATCH] Improve code in ctdb lock helper

Volker Lendecke vl at samba.org
Mon Dec 5 19:40:39 UTC 2016


On Mon, Dec 05, 2016 at 12:04:17PM +1100, Amitay Isaacs wrote:
> On Fri, Dec 2, 2016 at 8:26 PM, Volker Lendecke <vl at samba.org> wrote:
> 
> > On Fri, Dec 02, 2016 at 04:19:58PM +1100, Amitay Isaacs wrote:
> > > Volker, I would really appreciate if you can verify that I am doing
> > testing
> > > correctly.
> > >
> > > Usually it takes few runs to reproduce the problem.  So I run this as
> > > follows:
> > >
> > >   # while true ; do ./bin/test_mutex_raw /tmp/foobar 10 0 ; done
> >
> > Thanks for that test program! It works fine on FreeBSD but stalls on
> > a virtual Debian Jessie x86_64 and on a Debian testing on a Raspi2 for
> > me. So it seems at least CPU architecture independent.
> >
> > What this program does exactly matches what I have expected from robust
> > mutexes. I have been proven wrong just a few days ago by the FreeBSD
> > developers, so I would not count on this too much :-)
> >
> > I think we need to raise this with glibc and/or kernel people to explain
> > to us what we are doing wrong this time. Question is -- who can we
> > ask? Do you want me to look around for appropriate mailing lists?
> >
> 
> Yes. I think first we should check with glibc folks.
> 
> I would appreciate if you can report it to glibc mailing list.

As this happens on RHEL, I've opened a bug under

https://bugzilla.redhat.com/show_bug.cgi?id=1401665

Volker



More information about the samba-technical mailing list