git: sbin/hammer: Make hammer checkmap command support btree zone

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


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

    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.

Summary of changes:
 sbin/hammer/cmd_blockmap.c | 48 +++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 41 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6cf258d994412a6a1c1f03158d106279b712f587


-- 
DragonFly BSD source repository



More information about the Commits mailing list