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

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 4 00:40:37 PDT 2022


commit a786f1c9268cda6dc7046f1a520192e4dbef4bfc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jul 4 00:39:32 2022 -0700

    kernel - Attempt to fix broken vfs.cache.numunres tracker (2)
    
    * The main culprit appears to be cache_allocroot() accounting
      for new root ncps differently than the rest of the module.
      So anything which mounts and umounts continuously, like
      dsynth, can seriously make the numbers whacky.
    
    * Fix that and run an overnight test.

Summary of changes:
 sys/kern/vfs_cache.c | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list