git: sbin/hammer: Add struct zone_stat for generic zone statistics

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Jul 24 14:52:30 PDT 2015


commit 723806f41dc0a188617ceccddc3173f925762bf8
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Jul 22 02:57:05 2015 +0900

    sbin/hammer: Add struct zone_stat for generic zone statistics
    
    - Nothing changes, but just replaces the existing hammer checkmap's
      zone statistics with zone_stat[].
    
    - This is for the next few commits that make hammer show/blockmap
      /checkmap provide zone statistics to clarify storage consumption
      by each zone. It's better to have a common data structure to
      retrieve statistics of the same format from different view.

Summary of changes:
 sbin/hammer/cmd_blockmap.c | 12 ++++++------
 sbin/hammer/hammer_util.h  |  5 +++++
 2 files changed, 11 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/723806f41dc0a188617ceccddc3173f925762bf8


-- 
DragonFly BSD source repository



More information about the Commits mailing list