[RFC] tdb_traverse_read_lite()

Rusty Russell rusty at rustcorp.com.au
Mon Mar 4 00:27:15 MST 2013


Volker Lendecke <Volker.Lendecke at SerNet.DE> writes:
> On Thu, Feb 28, 2013 at 02:11:18PM +1030, Rusty Russell wrote:
>> Amitay asked me to look at a lightweight traverse for tdb.  This is my
>> first attempt (against his ctdb tree, but it's pretty simple).
>
> What about doing a traverse by chain? Sure, not atomic
> whatsoever, but potentially even less intrusive.
>
> Volker

I'm not sure what you mean... this traverses one chain at a time, but it
holds the lock for that chain across the traverse function.

Cheers,
Rusty.


More information about the samba-technical mailing list