r21722: Add the dead record functionality presented on samba-technical@samba.org. If
authorVolker Lendecke <vlendec@samba.org>
Tue, 6 Mar 2007 10:11:15 +0000 (10:11 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:49:18 +0000 (14:49 -0500)
commit98a27ab28a3cd554e370a9a0e3652f4dea8749e9
treedddcf6f35176f3be0cf894125f403ec805758abf
parent0b8b3f66716a8602438d9e9268c25ea14c2f564f
r21722: Add the dead record functionality presented on samba-technical@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
source/lib/tdb/common/open.c
source/lib/tdb/common/tdb.c
source/lib/tdb/common/tdb_private.h
source/lib/tdb/include/tdb.h