git: hammer2 - recover, improve performance for media pass

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Sep 29 20:37:58 PDT 2023


commit a5eec3d16c1b408410fe0b05c857b5e9c016f6b0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Sep 29 20:36:39 2023 -0700

    hammer2 - recover, improve performance for media pass
    
    * Improve the performance of the media pass by implementing a
      very simple 16-entry 64KB x 16 LRU disk cache.
    
      This helps reduce overhead during the initial inode scan.
      Inodes are 1KB blocks.

Summary of changes:
 sbin/hammer2/cmd_recover.c | 83 +++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 74 insertions(+), 9 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list