[PATCH] CTDB recovery lock improvements
asn at samba.org
Tue Jun 14 12:54:27 UTC 2016
On Tuesday, 14 June 2016 13:27:36 CEST Aurélien Aptel wrote:
> On Tue, 14 Jun 2016 09:57:53 +0200 Andreas Schneider <asn at samba.org>
> > the difference might be that autobuild runs completely in memory, not
> > on disk!
> > However we try to avoid adding more sleeps in the source code
> > especially so long ones. Autobuilds alread runs 2,5 hours we don't
> > need to extend it.
> It's an extra 6 seconds but I see what you mean.
> > So a check (stat()) in a loop with usleep() is preferred.
> How can I reliably check that the DOS mode flag has been set with
> stat()? Flags can be stored in tdb IIUC.
Oh, then I think it might be a good idea to write a tool which can check the
With that tool, start by creating a test which sets dos mode with smbclient
and verify it with the tool that it is correctly written. If we also store the
owner and group of the file in that tdb, we could finally verify that 'force
user' works correctly ...
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
More information about the samba-technical