Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2001 04:19:54 -0700 (PDT)
From:      Seigo Tanimura <tanimura@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_cache.c vfs_subr.c src/sys/sys vnode.h
Message-ID:  <200104181119.f3IBJss62013@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
tanimura    2001/04/18 04:19:54 PDT

  Modified files:
    sys/kern             vfs_cache.c vfs_subr.c 
    sys/sys              vnode.h 
  Log:
  Reclaim directory vnodes held in namecache if few free vnodes are
  available.
  
  Only directory vnodes holding no child directory vnodes held in
  v_cache_src are recycled, so that directory vnodes near the root of
  the filesystem hierarchy remain in namecache and directory vnodes are
  not reclaimed in cascade.
  
  The period of vnode reclaiming attempt and the number of vnodes
  attempted to reclaim can be tuned via sysctl(2).
  
  Suggested by:	tegge
  Approved by:	phk
  
  Revision  Changes    Path
  1.56      +67 -3     src/sys/kern/vfs_cache.c
  1.307     +27 -1     src/sys/kern/vfs_subr.c
  1.145     +2 -1      src/sys/sys/vnode.h


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104181119.f3IBJss62013>