git: fsck_hammer2 - Print recursion stack with error message

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 11 23:11:13 PDT 2026


commit 9e5be639ec55b3d5b19f08426861e69227eb85ff
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Apr 11 23:09:28 2026 -0700

    fsck_hammer2 - Print recursion stack with error message
    
    * Print the full blockref spec (that can be used in a "hammer2 show")
    
    * Print the recursion stack leading up to and including the error block.
    
    * Errored blocks and stack are printed without needing any -d options.
      Note that two -d opts will dump the full stack during the scan, which
      could end up being terrabytes of text so... maybe don't do that.

Summary of changes:
 sbin/fsck_hammer2/test.c | 160 ++++++++++++++++++++++++++++++++++-------------
 1 file changed, 115 insertions(+), 45 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9e5be639ec55b3d5b19f08426861e69227eb85ff


-- 
DragonFly BSD source repository


More information about the Commits mailing list