1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/tdb/common
Volker Lendecke 255edd1b41 tdb: Do a best fit search for dead records
Hash chains are (or can be made) short enough that a full search for the
best-fitting dead record is feasible. The freelist can become much longer,
there we don't do the full search but accept records which are too large.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-03-18 13:42:10 +01:00
..
check.c tdb: fix logging of offets and lengths. 2013-05-28 11:22:14 +02:00
dump.c tdb: tdbtool: dump record magic with fixed number of 8 hex digits 2014-02-14 15:53:25 -08:00
error.c tdb: Fix blank line endings 2012-12-21 11:54:53 +01:00
freelist.c tdb: fix logging of offets and lengths. 2013-05-28 11:22:14 +02:00
freelistcheck.c tdb: Use tdb_null in freelistcheck 2013-02-19 15:46:45 +01:00
hash.c tdb: enable VALGRIND to remove valgrind noise. 2011-06-08 11:05:47 +02:00
io.c tdb: Add another overflow check to tdb_expand_adjust 2013-06-03 14:08:53 +02:00
lock.c tdb: Avoid reallocs for lockrecs 2013-12-14 13:19:47 +01:00
open.c tdb: always open internal databases with incompatible hash. 2014-02-15 08:26:06 +01:00
rescue.c tdb: Remove "header" from tdb_context 2013-02-05 13:18:28 +01:00
summary.c lib/tdb: fix compiler warnings 2013-12-12 14:21:27 -08:00
tdb_private.h tdb: Avoid reallocs for lockrecs 2013-12-14 13:19:47 +01:00
tdb.c tdb: Do a best fit search for dead records 2014-03-18 13:42:10 +01:00
transaction.c tdb: Make tdb_recovery_allocate overflow-safe 2013-06-03 10:21:32 +02:00
traverse.c tdb: Remove "header" from tdb_context 2013-02-05 13:18:28 +01:00