]> git.ozlabs.org Git - ccan/commit
tdb2: fix tdb_summary reports
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Apr 2011 13:34:13 +0000 (23:04 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Apr 2011 13:34:13 +0000 (23:04 +0930)
commit63e80faf9b42fbe73e25c804dd734b6179e42c24
treebdd8e6c4bc15d239023386f16246312dd60d6f17
parentedd3043fe38a77b455e1d617aa8901d02ede629f
tdb2: fix tdb_summary reports

1) Fix the bogus reporting of uncoalesced runs: there has to be more than 1
   free record to make a "run", and any other record interrups the run.
2) Fix the bogus data count in the top line (which was number of records,
   not bytes).
3) Remove the count of free buckets: it's now a constant.
ccan/tdb2/summary.c