git: hammer2 - Improve verbosity of CHECK errors on the console

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 20 15:03:04 PDT 2019


commit 7ac04587b8157d7322bcb66d08c63f1a38c41550
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Apr 20 15:01:06 2019 -0700

    hammer2 - Improve verbosity of CHECK errors on the console
    
    * Improve the verbosity of CHECK errors on the console.  Print
      the block-type in human-readable form, and attempt to trace
      it back to its governing inode and report the inode number
      the error is in.
    
    * Also print the device path string associated with the mount
      so we know what block device the error occurred on.

Summary of changes:
 sys/vfs/hammer2/hammer2.h       |  1 +
 sys/vfs/hammer2/hammer2_chain.c | 75 +++++++++++++++++++++++++++++++----------
 sys/vfs/hammer2/hammer2_subr.c  | 28 +++++++++++++++
 3 files changed, 86 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ac04587b8157d7322bcb66d08c63f1a38c41550


-- 
DragonFly BSD source repository


More information about the Commits mailing list