HAMMER Util - Add 'checkmap', adjust hammer show
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 16 Apr 2010 03:41:18 +0000 (20:41 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 16 Apr 2010 03:41:18 +0000 (20:41 -0700)
commit6ed4c8865ecf2f58625468bb0845d3884828ea1f
treef9bcf64a76e696bbc44b22212ae667925fdf4b32
parent08db538ffb7b1fc282d451f575200e8776de629f
HAMMER Util - Add 'checkmap', adjust hammer show

* Add a checkmap function which scans the B-Tree, collects byte usage,
  and checks it against the blockmap.  This is still experimental.

* Adjust hammer show to flag zone mismatches instead of asserting.
sbin/hammer/blockmap.c
sbin/hammer/cmd_blockmap.c
sbin/hammer/cmd_show.c
sbin/hammer/hammer.8
sbin/hammer/hammer.c
sbin/hammer/hammer.h
sbin/hammer/hammer_util.h
sbin/hammer/ondisk.c