From owner-cvs-src@FreeBSD.ORG Mon Jun 9 10:32:23 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93A98106566B; Mon, 9 Jun 2008 10:32:23 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC6F8FC0A; Mon, 9 Jun 2008 10:32:23 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m59AWNWj023419; Mon, 9 Jun 2008 10:32:23 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m59AWNrd023418; Mon, 9 Jun 2008 10:32:23 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200806091032.m59AWNrd023418@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Mon, 9 Jun 2008 10:31:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern vfs_export.c vfs_mount.c src/sys/sys mount.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 09 Jun 2008 10:32:23 -0000 kib 2008-06-09 10:31:38 UTC FreeBSD src repository Modified files: sys/kern vfs_export.c vfs_mount.c sys/sys mount.h Log: SVN rev 179670 on 2008-06-09 10:31:38Z by kib Provide the mutual exclusion between the nfs export list modifications and nfs requests processing. Lockmgr lock provides the shared locking for nfs requests, while exclusive mode is used for modifications. The writer starvation is handled by lockmgr too. Reported by: kris, pho, many Based on the submission by: mohan Tested by: pho MFC after: 2 weeks Revision Changes Path 1.343 +4 -0 src/sys/kern/vfs_export.c 1.284 +2 -0 src/sys/kern/vfs_mount.c 1.231 +1 -0 src/sys/sys/mount.h