git: hammer2 - recover, improve cpu performance

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Sep 30 11:02:50 PDT 2023


commit f26c2b1f65c75ecbe4bd4fb022c38d6d84a0f563
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 30 11:01:25 2023 -0700

    hammer2 - recover, improve cpu performance
    
    * Move the inode and indirect block duplication tests out of linear
      lists hanging off the topology structure and into their own hash
      tables.
    
    * Massively improves performance during pass 2 on large filesystems
      with many roots or snapshots present that were becoming cpu-bound
      on list traversals.

Summary of changes:
 sbin/hammer2/cmd_recover.c | 103 ++++++++++++++++++++++++++++++---------------
 1 file changed, 69 insertions(+), 34 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f26c2b1f65c75ecbe4bd4fb022c38d6d84a0f563


-- 
DragonFly BSD source repository


More information about the Commits mailing list