git: sbin/hammer: Make hammer blockmap|checkmap|show print # of 'B' on -v

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Sep 4 10:57:32 PDT 2015


commit 4a08dcf42e5a842012d3b7917c49fc05a9d047cf
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Aug 29 20:40:34 2015 +0900

    sbin/hammer: Make hammer blockmap|checkmap|show print # of 'B' on -v
    
    similar to the way hammer checkmap prints # of errors,
    and some refactoring around that part.
    
    (otherwise one has to search for "^B" to see if there
    is any error in some 100M bytes hammer show result for
    large fs)

Summary of changes:
 sbin/hammer/cmd_blockmap.c | 67 ++++++++++++++++++++++++++++++++++------------
 sbin/hammer/cmd_show.c     | 63 ++++++++++++++++++++++++++-----------------
 2 files changed, 88 insertions(+), 42 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4a08dcf42e5a842012d3b7917c49fc05a9d047cf


-- 
DragonFly BSD source repository



More information about the Commits mailing list