From owner-cvs-src@FreeBSD.ORG Sat May 24 23:17:34 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 B18F537B401; Sat, 24 May 2003 23:17:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 621B943F75; Sat, 24 May 2003 23:17:34 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4P6HY0U043881; Sat, 24 May 2003 23:17:34 -0700 (PDT) (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4P6HYSm043880; Sat, 24 May 2003 23:17:34 -0700 (PDT) Message-Id: <200305250617.h4P6HYSm043880@repoman.freebsd.org> From: Don Lewis Date: Sat, 24 May 2003 23:17:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsserver nfs.h nfs_serv.c nfs_srvsubs.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: Sun, 25 May 2003 06:17:35 -0000 truckman 2003/05/24 23:17:33 PDT FreeBSD src repository Modified files: sys/nfsserver nfs.h nfs_serv.c nfs_srvsubs.c Log: Beat vnode locking in the NFS server code into submission. This change is not pretty, but it fixes the code so that it no longer violates the vnode locking rules in the VFS API and doesn't trip any of the locking assertions enabled by the DEBUG_VFS_LOCKS kernel configuration option. There is one report that this patch fixed a "locking against myself" panic on an NFS server that was tripped by a diskless client. Approved by: re (scottl) Revision Changes Path 1.69 +2 -1 src/sys/nfsserver/nfs.h 1.134 +186 -112 src/sys/nfsserver/nfs_serv.c 1.121 +15 -1 src/sys/nfsserver/nfs_srvsubs.c