mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
55ff3a3b91
While we are traversing the freelist anyways, merge a record with the left if it is also a free list record. That partially makes up for the fragmentation introduced by the lack of merging with right records in tdb_free(). Note there is a potential slight downside: If the left record we merge the current record into was earlier in the chain and has hence already been met in traverse, then we can not use the enlarged record even if it might be a new best fit. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Jun 26 12:16:03 CEST 2014 on sn-devel-104 |
||
---|---|---|
.. | ||
check.c | ||
dump.c | ||
error.c | ||
freelist.c | ||
freelistcheck.c | ||
hash.c | ||
io.c | ||
lock.c | ||
mutex.c | ||
open.c | ||
rescue.c | ||
summary.c | ||
tdb_private.h | ||
tdb.c | ||
transaction.c | ||
traverse.c |