sbin/hammer: Add struct zone_stat for generic zone statistics
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 21 Jul 2015 17:57:05 +0000 (02:57 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 24 Jul 2015 20:22:51 +0000 (05:22 +0900)
commit723806f41dc0a188617ceccddc3173f925762bf8
tree3f351a5510a56907a5736d782ed4254de89502e9
parent0f4b9cb732f9df30bac9254e3b2afba6679352d3
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.
sbin/hammer/cmd_blockmap.c
sbin/hammer/hammer_util.h