From owner-cvs-all@FreeBSD.ORG Sat Apr 30 11:22:41 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40AFE16A4CE; Sat, 30 Apr 2005 11:22:41 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 153FF43D41; Sat, 30 Apr 2005 11:22:41 +0000 (GMT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3UBMeuN050080; Sat, 30 Apr 2005 11:22:40 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3UBMeUW050079; Sat, 30 Apr 2005 11:22:40 GMT (envelope-from jeff) Message-Id: <200504301122.j3UBMeUW050079@repoman.freebsd.org> From: Jeff Roberson Date: Sat, 30 Apr 2005 11:22:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern vfs_subr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2005 11:22:41 -0000 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