git: sbin/hammer: Print total bytes of reblocked nodes

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Aug 22 10:53:23 PDT 2015


commit 3ced8577304fc3265633851c1a06443da67a04f6
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Aug 22 13:01:08 2015 +0900

    sbin/hammer: Print total bytes of reblocked nodes
    
    just like it shows both "data elements" and "data bytes"
    in the next two lines.
    
    "btree bytes" is kind of obvious since btree nodes are
    all 4KB, and there isn't a field for "btree bytes" in
    struct hammer_ioc_reblock as well, however this isn't
    obvious for users so it should print it.

Summary of changes:
 sbin/hammer/cmd_reblock.c | 5 +++++
 1 file changed, 5 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3ced8577304fc3265633851c1a06443da67a04f6


-- 
DragonFly BSD source repository



More information about the Commits mailing list