git: kernel - Attempt to fix broken vfs.cache.numunres tracker

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jul 3 22:28:40 PDT 2022


commit 8ae75bb2f3068158df0532a56a2d9fa0f646c2d0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jul 3 16:31:00 2022 -0700

    kernel - Attempt to fix broken vfs.cache.numunres tracker
    
    * Try to fix a mis-count that can accumulate under heavy loads.
    
    * In cache_setvp() and cache_setunresolved(), only adjust the
      unres count for namecache entries that are linked into the
      topology.

Summary of changes:
 sys/kern/vfs_cache.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8ae75bb2f3068158df0532a56a2d9fa0f646c2d0


-- 
DragonFly BSD source repository


More information about the Commits mailing list