]> git.ozlabs.org Git - ccan/commit
tdb2: get rid of zones
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Nov 2010 09:55:41 +0000 (20:25 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Nov 2010 09:55:41 +0000 (20:25 +1030)
commitd70577b6aff24ccf6815896509dabb8c9ac07904
tree5a49f9d92bcc62d5a3bf12d86de275babcbda020
parent2ecf943a99c427b10a998f0285dd184b1a25ac65
tdb2: get rid of zones

Zones were a bad idea.  They mean we can't simply add stuff to the end
of the file (which transactions relied upon), and there's no good heuristic
in how to size them.

This patch reverts us to a single free table.
16 files changed:
ccan/tdb2/check.c
ccan/tdb2/free.c
ccan/tdb2/lock.c
ccan/tdb2/private.h
ccan/tdb2/summary.c
ccan/tdb2/tdb.c
ccan/tdb2/test/layout.c
ccan/tdb2/test/layout.h
ccan/tdb2/test/run-001-encode.c
ccan/tdb2/test/run-01-zones.c [deleted file]
ccan/tdb2/test/run-02-expand.c
ccan/tdb2/test/run-03-coalesce.c
ccan/tdb2/test/run-04-basichash.c
ccan/tdb2/test/run-30-exhaust-before-expand.c
ccan/tdb2/test/run-firstkey-nextkey.c
ccan/tdb2/test/run-summary.c