git: hammer2: Disable debug v/f-chain dumps on unmounting

Aaron LI aly at crater.dragonflybsd.org
Tue Sep 1 22:48:36 PDT 2026


commit 40e5c5625b097fde74fad7c8503aea083208630a
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Sep 2 09:14:20 2026 +0800

    hammer2: Disable debug v/f-chain dumps on unmounting
    
    The two dumps were added to track down the HAMMER2-msg leak reported by
    malloc_uninit() and would always print the following logs at shutdown:
    
    ```
    v-chain 0xfffff8008e6204c0 volume.0   0000000000000010 0000000000000000/0  mir=00000000000
    00140
          [00002000] (?) refs=1
    f-chain 0xfffff8008e620640 freemap.0   0000000000000010 0000000000000000/0  mir=0000000000
    000140
          [00002000] (?) refs=1
    ```
    
    Given that the memory leak has been fixed in commit
    bfcedfb468d712f29cadb491bec0928ad4279bad, disable these two debug dumps
    now.
    
    ok by dillon.

Summary of changes:
 sys/vfs/hammer2/hammer2_vfsops.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/40e5c5625b097fde74fad7c8503aea083208630a


-- 
DragonFly BSD source repository


More information about the Commits mailing list