sbin/hammer: Add num_bad_rec counter to hammer show
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 3 Mar 2016 17:49:50 +0000 (02:49 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 5 Mar 2016 09:44:01 +0000 (18:44 +0900)
commit2d600cc715dffbf81f91c2446da1c32370c52c74
treefccdc0cd0144eaaf0e828e84c4bef35a58f82ad0
parent1c1d5eecc6d98017bb2f9abee7815c717205dd3e
sbin/hammer: Add num_bad_rec counter to hammer show

Add a counter for CRC error and blockmap offset error for records
in addition to counters for nodes and elms. Bad records has been
checked by hammer show, but the result wasn't printed like other two.
sbin/hammer/cmd_show.c