Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Apr 2005 11:22:40 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_subr.c
Message-ID:  <200504301122.j3UBMeUW050079@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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