cvs commit: src/sys/kern vfs_subr.c

Jeff Roberson jeff at FreeBSD.org
Sat Apr 30 04:22:41 PDT 2005


jeff        2005-04-30 11:22:40 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
   - In vnlru_free() remove the vnode from the free list before we call
     vtryrecycle().  We could sometimes get into situations where two threads
     could try to recycle the same vnode before this.
   - vtryrecycle() is now responsible for returning the vnode to the free list
     if it fails and someone else hasn't done it.
   - Make a new function vfreehead() which moves a vnode to the head of the
     free list and use it in vgone() to clean up that code a bit.
  
  Sponsored by:   Isilon Systems, Inc.
  Reported by:    pho, kkenn
  
  Revision  Changes    Path
  1.620     +51 -33    src/sys/kern/vfs_subr.c


More information about the cvs-src mailing list