Port from SAMBA tdb: commit a386173fa1c7c5bcc11ea9260d84b6c52c154b3d Author: Andrew...
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 29 Jul 2009 05:21:12 +0000 (14:51 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 4 Aug 2009 07:13:26 +0000 (16:43 +0930)
commit233c52bfb087f636ad61e95c12616c02901f4f83
tree3f51cc4d52086b05c1a53d57e2b31e3af72bb68f
parentfe3ceb101a5a9c336973c2c6c31406bd8181c2fe
Port from SAMBA tdb: commit a386173fa1c7c5bcc11ea9260d84b6c52c154b3d Author: Andrew Tridgell <tridge@samba.org> Date: Mon Jun 1 13:11:39 2009 +1000

auto-repack in transactions that expand the tdb

    The idea behind this is to recover from badly fragmented free
    lists. Choosing the point where the file expands is fairly arbitrary,
    but seems to work well.
lib/tdb/common/transaction.c