git: sbin/hammer: Add zone-bigblock statistics to hammer checkmap command
tkusumi at crater.dragonflybsd.org
Mon Mar 16 10:26:32 PDT 2015
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(-)
DragonFly BSD source repository
More information about the Commits