summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_serv.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-12-29 00:25:11 +0000
committerdyson <dyson@FreeBSD.org>1997-12-29 00:25:11 +0000
commitcd67bb82fe37f70fed8e42c14c818de84029e3c0 (patch)
treea5d04c1ccd61a23a22dbd5ecd8264d7c3e866024 /sys/nfs/nfs_serv.c
parentf5f5008388092430288cb0018453755be5be7bdb (diff)
downloadFreeBSD-src-cd67bb82fe37f70fed8e42c14c818de84029e3c0.zip
FreeBSD-src-cd67bb82fe37f70fed8e42c14c818de84029e3c0.tar.gz
Lots of improvements, including restructring the caching and management
of vnodes and objects. There are some metadata performance improvements that come along with this. There are also a few prototypes added when the need is noticed. Changes include: 1) Cleaning up vref, vget. 2) Removal of the object cache. 3) Nuke vnode_pager_uncache and friends, because they aren't needed anymore. 4) Correct some missing LK_RETRY's in vn_lock. 5) Correct the page range in the code for msync. Be gentle, and please give me feedback asap.
Diffstat (limited to 'sys/nfs/nfs_serv.c')
-rw-r--r--sys/nfs/nfs_serv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c
index e5cc745..029897b 100644
--- a/sys/nfs/nfs_serv.c
+++ b/sys/nfs/nfs_serv.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_serv.c 8.3 (Berkeley) 1/12/94
- * $Id: nfs_serv.c,v 1.52 1997/10/28 15:59:05 bde Exp $
+ * $Id: nfs_serv.c,v 1.53 1997/12/27 02:56:34 bde Exp $
*/
/*
@@ -1792,7 +1792,6 @@ nfsrv_remove(nfsd, slp, procp, mrq)
}
out:
if (!error) {
- vnode_pager_uncache(vp, procp);
nqsrv_getl(nd.ni_dvp, ND_WRITE);
nqsrv_getl(vp, ND_WRITE);
@@ -1969,7 +1968,6 @@ out:
nqsrv_getl(tdvp, ND_WRITE);
if (tvp) {
nqsrv_getl(tvp, ND_WRITE);
- (void) vnode_pager_uncache(tvp, procp);
}
error = VOP_RENAME(fromnd.ni_dvp, fromnd.ni_vp, &fromnd.ni_cnd,
tond.ni_dvp, tond.ni_vp, &tond.ni_cnd);
OpenPOWER on IntegriCloud