From owner-cvs-src-old@FreeBSD.ORG Fri Mar 20 21:13:22 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F25B210656E5 for ; Fri, 20 Mar 2009 21:13:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DC2BF8FC2E for ; Fri, 20 Mar 2009 21:13:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KLDLL2064254 for ; Fri, 20 Mar 2009 21:13:21 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2KLDLjr064253 for cvs-src-old@freebsd.org; Fri, 20 Mar 2009 21:13:21 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200903202113.n2KLDLjr064253@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Fri, 20 Mar 2009 21:12:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfs4client nfs4_vnops.c src/sys/nfsclient nfs.h nfs_vnops.c nfsnode.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 21:13:23 -0000 jhb 2009-03-20 21:12:38 UTC FreeBSD src repository Modified files: sys/nfs4client nfs4_vnops.c sys/nfsclient nfs.h nfs_vnops.c nfsnode.h Log: SVN rev 190176 on 2009-03-20 21:12:38Z by jhb Expand the per-node access cache to cache permissions for multiple users. The number of entries in the cache defaults to 8 but is easily changed in nfsclient/nfs.h. When the cache is filled, the oldest cache entry is evicted when space is needed. I mirrored the changes to the NFSv[23] client in the NFSv4 client to fix compile breakage. However, the NFSv4 client doesn't actually use the access cache currently. Submitted by: rmacklem Revision Changes Path 1.50 +37 -14 src/sys/nfs4client/nfs4_vnops.c 1.104 +3 -0 src/sys/nfsclient/nfs.h 1.303 +45 -21 src/sys/nfsclient/nfs_vnops.c 1.65 +7 -3 src/sys/nfsclient/nfsnode.h