git: hammer2 - recover, improve cpu performance (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Sep 30 12:13:54 PDT 2023


commit c84b3a36710446ccf4305cb938c329dda6f1b499
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 30 12:12:20 2023 -0700

    hammer2 - recover, improve cpu performance (2)
    
    * Add secondary inode hash table with a two-factor hash to fix
      another cpu-bound issue in enter_inode().
    
    * Fix a bug in the hash index calculation in recent work
      (HSIZE -> HMASK).

Summary of changes:
 sbin/hammer2/cmd_recover.c | 31 ++++++++++++++++++++++++++-----
 1 file changed, 26 insertions(+), 5 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list