hammer2 - Improve verbosity of CHECK errors on the console
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 20 Apr 2019 22:01:06 +0000 (15:01 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 20 Apr 2019 22:01:06 +0000 (15:01 -0700)
commit7ac04587b8157d7322bcb66d08c63f1a38c41550
tree462c7883dbdaffc4d728f4d397c311de74a78b0b
parentfdd00e0abea04ad47141ec4af21d6250ea584716
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.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_subr.c