git: sbin/hammer: Make hammer checkmap check zone

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Mar 28 15:31:31 PDT 2015


commit 901e04c726658ce6ec198aa56d0b2c5b9255fc72
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Mar 29 04:34:09 2015 +0900

    sbin/hammer: Make hammer checkmap check zone
    
    - Make use of unused layer2 track field track2->zone to check
      layer2 entries' zone #.
    
    - This ensures that all nodes/data/metadata are allocated from
      a zone that is supposed to be used. If HAMMER happens to
      allocate them from a zone that is not intended to be used for
      that chunk of data, then this command will report inconsistency.

Summary of changes:
 sbin/hammer/cmd_blockmap.c     | 71 +++++++++++++++++++++++++++++++++---------
 sys/vfs/hammer/hammer_ondisk.c | 17 ++++++++++
 2 files changed, 74 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/901e04c726658ce6ec198aa56d0b2c5b9255fc72


-- 
DragonFly BSD source repository


More information about the Commits mailing list