git: HAMMER Util - Add 'checkmap', adjust hammer show
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Apr 15 20:44:17 PDT 2010
commit 6ed4c8865ecf2f58625468bb0845d3884828ea1f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Apr 15 20:41:18 2010 -0700
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.
Summary of changes:
sbin/hammer/blockmap.c | 12 ++-
sbin/hammer/cmd_blockmap.c | 207 ++++++++++++++++++++++++++++++++++++++++++--
sbin/hammer/cmd_show.c | 42 +++++++---
sbin/hammer/hammer.8 | 7 ++
sbin/hammer/hammer.c | 5 +
sbin/hammer/hammer.h | 1 +
sbin/hammer/hammer_util.h | 3 +-
sbin/hammer/ondisk.c | 2 +-
8 files changed, 255 insertions(+), 24 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ed4c8865ecf2f58625468bb0845d3884828ea1f
--
DragonFly BSD source repository
More information about the Commits
mailing list