summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/ldbedit.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-12-16 14:38:17 +1100
committerAndrew Tridgell <tridge@samba.org>2008-12-16 14:38:17 +1100
commit936d76802f98d04d9743b2ca8eeeaadd4362db51 (patch)
tree42bc48667e84e7fc016af2ca3130b33d5d6c7b6a /source4/lib/ldb/tools/ldbedit.c
parent2e4247782bd5812bc8e7ea24194c8436748bb2fa (diff)
downloadsamba-936d76802f98d04d9743b2ca8eeeaadd4362db51.tar.gz
samba-936d76802f98d04d9743b2ca8eeeaadd4362db51.tar.bz2
samba-936d76802f98d04d9743b2ca8eeeaadd4362db51.zip
imported the tdb_repack() code from CTDB
The tdb_repack() function repacks a TDB so that it has a single freelist entry. The file doesn't shrink, but it does remove all freelist fragmentation. This code originated in the CTDB vacuuming code, but will now be used in ldb to cope with fragmentation from re-indexing
Diffstat (limited to 'source4/lib/ldb/tools/ldbedit.c')
0 files changed, 0 insertions, 0 deletions