Date: Fri, 7 Jan 2011 20:31:47 +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: <201101072032.p07KW5Ek067038@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2011-01-07 20:31:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/fs/nfs nfs_var.h sys/fs/nfsserver nfs_nfsdport.c nfs_nfsdserv.c Log: SVN rev 217124 on 2011-01-07 20:31:47Z by rmacklem MFC: r216693 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. Revision Changes Path 1.6.2.12 +1 -1 src/sys/fs/nfs/nfs_var.h 1.15.2.16 +19 -13 src/sys/fs/nfsserver/nfs_nfsdport.c 1.5.2.6 +51 -48 src/sys/fs/nfsserver/nfs_nfsdserv.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101072032.p07KW5Ek067038>