tdb2: add stats to tdb1 backend.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 22:40:13 +0000 (08:10 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 22:40:13 +0000 (08:10 +0930)
commit26f3587d4bf60fe3c82084a7661c4f856534725f
tree4268149def9655420fc296e01dc98e9102039685
parentb30bb0ed903a49a9a81d0418211e4f985eca20ab
tdb2: add stats to tdb1 backend.

It's actually quite a good fit; we use compare_wrong_bucket for dead
records, which is kind of correct (they should be in the free list).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit a3e4ebff2eb9dc2e386160b8acf77d70236f4def)
lib/tdb2/tdb1_freelist.c
lib/tdb2/tdb1_io.c
lib/tdb2/tdb1_tdb.c
lib/tdb2/tdb1_transaction.c