svn commit: samba r21722 - in branches: SAMBA_3_0/source/tdb/common SAMBA_3_0/source/tdb/include SAMBA_3_0_25/source/tdb/common SAMBA_3_0_25/source/tdb/include SAMBA_4_0/source/lib/tdb/common SAMBA_4_0/source/lib/tdb/include

vlendec at samba.org vlendec at samba.org
Tue Mar 6 10:11:16 GMT 2007


Author: vlendec
Date: 2007-03-06 10:11:15 +0000 (Tue, 06 Mar 2007)
New Revision: 21722

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21722

Log:
Add the dead record functionality presented on samba-technical at samba.org. If
you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will
only mark a record as dead and re-use it if a new record is created. The
parameter n allows for at most n dead records per hash chain. If this number
is exceeded, all dead records are put on the central freelist.

Volker

Modified:
   branches/SAMBA_3_0/source/tdb/common/open.c
   branches/SAMBA_3_0/source/tdb/common/tdb.c
   branches/SAMBA_3_0/source/tdb/common/tdb_private.h
   branches/SAMBA_3_0/source/tdb/include/tdb.h
   branches/SAMBA_3_0_25/source/tdb/common/open.c
   branches/SAMBA_3_0_25/source/tdb/common/tdb.c
   branches/SAMBA_3_0_25/source/tdb/common/tdb_private.h
   branches/SAMBA_3_0_25/source/tdb/include/tdb.h
   branches/SAMBA_4_0/source/lib/tdb/common/open.c
   branches/SAMBA_4_0/source/lib/tdb/common/tdb.c
   branches/SAMBA_4_0/source/lib/tdb/common/tdb_private.h
   branches/SAMBA_4_0/source/lib/tdb/include/tdb.h


Changeset:
Sorry, the patch is too large (857 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21722


More information about the samba-cvs mailing list