[PATCH] lib/tdb: new locking hook.

Stefan (metze) Metzmacher metze at samba.org
Fri Aug 28 08:43:21 MDT 2009


Rusty Russell schrieb:
> On Fri, 28 Aug 2009 09:59:51 pm simo wrote:
>> On Fri, 2009-08-28 at 11:59 +0930, Rusty Russell wrote:
>>> This obsoletes the *mark and *nonblock calls, by allowing the user
>>> to do fancy work replacing, recording or faking fcntl locks.  This
>>> should make ctdb's life easier.  Clumsily, this also fixes a shadow
>>> warning (wait) introduced by previous patch.
>> This patch includes new functionality in tdb, please increase by one the
>> Y version so that we can use the correct configure tests to satisfy the
>> dependency in code that needs it.
> 
> OK.  I'll hold off: I'd prefer to do the changes for TDB_ALLOW_NESTING and
> this back-to-back, so we only need inc the number once.

With the current change only b needs to be changed in a.b.c.

While the TDB_ALLOW_NESTING may need to change a.

And only changing a makes trouble and should not happen often.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090828/c5cc27b2/attachment.pgp>


More information about the samba-technical mailing list