git: hammer2 - limit show command output when crc error

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 22 21:27:38 PDT 2017


commit 62a2c422ea86449cbba170c4adee0b82e003f971
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 22 16:43:11 2017 -0700

    hammer2 - limit show command output when crc error
    
    * When a CRC error check fails on a recursive chain during the debugging
      'show' command output, limit recursion down that chain to one level.
      This allows the potentially corrupted data record to be dissected but
      does not attempt further indirection through it.

Summary of changes:
 sbin/hammer2/cmd_debug.c | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/62a2c422ea86449cbba170c4adee0b82e003f971


-- 
DragonFly BSD source repository


More information about the Commits mailing list