From owner-cvs-src@FreeBSD.ORG Mon Nov 10 16:32:47 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 856DC16A4CE; Mon, 10 Nov 2003 16:32:47 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16CBF43F3F; Mon, 10 Nov 2003 16:32:47 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAB0WkXJ073982; Mon, 10 Nov 2003 16:32:46 -0800 (PST) (envelope-from alfred@repoman.freebsd.org) Received: (from alfred@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAB0WkJi073981; Mon, 10 Nov 2003 16:32:46 -0800 (PST) (envelope-from alfred) Message-Id: <200311110032.hAB0WkJi073981@repoman.freebsd.org> From: Alfred Perlstein Date: Mon, 10 Nov 2003 16:32:46 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsclient nfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 00:32:47 -0000 alfred 2003/11/10 16:32:46 PST FreeBSD src repository Modified files: sys/nfsclient nfs_vnops.c Log: Stop using shared locks for nfs vop locks. The reason this was done was to avoid a race to the root when an NFS server went down. However a semi-recent change to the way that the kernel's lookup() routine traverses mount points prevents this. Rev 1.39 of vfs_lookup.c changed the ordering of locks such that we aquire a shared lock on the mount point being accessed and then drop the directory vnode lock before requesting the target lock. With that in place we no longer need shared locks for NFS to prevent race to the root lockups. Revision Changes Path 1.214 +0 -3 src/sys/nfsclient/nfs_vnops.c