git: hammer: factor out blockmap layer CRC verification

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jun 27 22:51:26 PDT 2026


commit 077f781fb65a19e0951f6f2925a6a2959ca47fa1
Author: Abdelkader Boudih <dragonflybsd at seuros.com>
Date:   Sat Jun 27 18:16:46 2026 +0000

    hammer: factor out blockmap layer CRC verification
    
    Add hammer_verify_layer1_crc() and hammer_verify_layer2_crc() helpers
    for the double-check-under-lock CRC pattern used across all blockmap
    functions. Easier to maintain and document in one place.

Summary of changes:
 sys/vfs/hammer/hammer_blockmap.c | 135 ++++++++++++---------------------------
 1 file changed, 40 insertions(+), 95 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/077f781fb65a19e0951f6f2925a6a2959ca47fa1


-- 
DragonFly BSD source repository


More information about the Commits mailing list