Date: Fri, 24 Dec 2010 21:31:18 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfs nfs_var.h src/sys/fs/nfsserver nfs_nfsdport.c nfs_nfsdserv.c Message-ID: <201012242131.oBOLVYOq088643@repoman.freebsd.org>
index | next in thread | raw e-mail
rmacklem 2010-12-24 21:31:18 UTC
FreeBSD src repository
Modified files:
sys/fs/nfs nfs_var.h
sys/fs/nfsserver nfs_nfsdport.c nfs_nfsdserv.c
Log:
SVN rev 216693 on 2010-12-24 21:31:18Z by rmacklem
Add an argument to nfsvno_getattr() in the experimental
NFS server, so that it can avoid calling VOP_ISLOCKED()
when the vnode is known to be locked. This will allow
LK_SHARED to be used for these cases, which happen to
be all the cases that can use LK_SHARED. This does not
fix any bug, but it reduces the number of calls to
VOP_ISLOCKED() and prepares the code so that it can be
switched to using LK_SHARED in a future patch.
Reviewed by: kib
MFC after: 2 weeks
Revision Changes Path
1.18 +1 -1 src/sys/fs/nfs/nfs_var.h
1.30 +19 -13 src/sys/fs/nfsserver/nfs_nfsdport.c
1.10 +51 -48 src/sys/fs/nfsserver/nfs_nfsdserv.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012242131.oBOLVYOq088643>
