[PATCH] TDB tests to prove behaviour (was: Re: POSIX Locking (some pointers for those not already scared))
abartlet at samba.org
Fri Mar 2 03:49:43 UTC 2018
On Fri, 2018-03-02 at 16:24 +1300, Andrew Bartlett via samba-technical
> I've been working to understand locking, fork() and tdb as we move
> Samba to LMDB. I had some fears before I realised that an fcntl() lock
> is not kept across fork(), so the stupid behaviour on close() doesn't
> matter if it is in the child.
I reworked some test code of Volker's into more tests for tdb_reopen()
and tdb_close() but mostly about inter-process locking.
Tarring and feathering welcome. (or review and perhaps push).
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 16112 bytes
Desc: not available
More information about the samba-technical