sbin/hammer: Make hammer checkmap command support btree zone
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 16 Mar 2015 16:34:40 +0000 (01:34 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 16 Mar 2015 17:24:02 +0000 (02:24 +0900)
commit6cf258d994412a6a1c1f03158d106279b712f587
treeb30ac066f1bfdcd0793ec2babdba7738e9ee2596
parent604b6edb9d5b3b7ada1159d2d9239c797c846155
sbin/hammer: Make hammer checkmap command support btree zone

- Make hammer checkmap command support not only btree leaf elements,
  but also btree internal/leaf nodes.

- collect_get() allocates 8MB chunk for layer2 which covers all
  layer2 entries within a layer1 entry, however existing checkmap
  command only tracks btree leaf elements. This commit adds additional
  collects for btree internal/leaf nodes that belong to btree zone.
sbin/hammer/cmd_blockmap.c