git: DragonFly_RELEASE_2_6 HAMMER Util - Add 'checkmap', adjust hammer show

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Apr 18 22:59:14 PDT 2010


commit 49db2664f3da187c4a656ca72ae664cdfeaf3b9b
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/49db2664f3da187c4a656ca72ae664cdfeaf3b9b


-- 
DragonFly BSD source repository





More information about the Commits mailing list