git: sbin/hammer: Add zone-bigblock statistics to hammer checkmap command

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Mar 16 10:26:32 PDT 2015


commit d42b45c3c4ad841d4c955ba6341c266aaac32b57
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Mar 17 01:34:40 2015 +0900

    sbin/hammer: Add zone-bigblock statistics to hammer checkmap command
    
    - Make hammer checkmap command print zone-bigblock statistics when
      -v option is used.
    
    - Note that hammer checkmap command does not take into account all
      zones that are currently used by HAMMER. For example the command
      does not count bigblocks used by undo zone, so zone 3 always has
      0 regardless of actual ondisk undo space.
    
    - Add zone=%2d info to existing failure/verbose printf which
      corresponds to the statistics.

Summary of changes:
 sbin/hammer/cmd_blockmap.c | 35 ++++++++++++++++++++++++++++++-----
 1 file changed, 30 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d42b45c3c4ad841d4c955ba6341c266aaac32b57


-- 
DragonFly BSD source repository



More information about the Commits mailing list