summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-02-10 02:39:09 +0100
committerVolker Lendecke <vl@samba.org>2014-06-26 10:00:11 +0200
commit843a8a5c7b82459fae2eee490da005a68e4ced91 (patch)
treeec2899f4139ace2e548ca3af45bd1ccdc21b90ce /python
parent73c439f5818c40582892c1170ab8b21fb4f59c6d (diff)
downloadsamba-843a8a5c7b82459fae2eee490da005a68e4ced91.tar.gz
samba-843a8a5c7b82459fae2eee490da005a68e4ced91.tar.xz
samba-843a8a5c7b82459fae2eee490da005a68e4ced91.zip
tdb: add tdb_freelist_merge_adjacent()
This is intended to be called to reduce the fragmentation in the freelist. This is to make up the deficiency of the freelist to be not doubly linked. If the freelist were doubly linked, we could easily avoid the creation of adjacent freelist entries. But with the current singly linked list, it is only possible to cheaply merge a new free record into a freelist entry on the left, not on the right... This can be called periodically, e.g. in the vacuuming process of a ctdb cluster. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions