Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/nfs Pull up revision 1.36 (requested by fvdl):



details:   https://anonhg.NetBSD.org/src/rev/ad928eab912b
branches:  netbsd-1-5
changeset: 490339:ad928eab912b
user:      he <he%NetBSD.org@localhost>
date:      Thu Dec 14 23:37:05 2000 +0000

description:
Pull up revision 1.36 (requested by fvdl):
  Improve NFS performance, possibly with as much as 100% in
  throughput.  Please note: this implies a kernel interface change,
  VOP_FSYNC gains two arguments.

diffstat:

 sys/nfs/nfs_node.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ab3c94cdf079 -r ad928eab912b sys/nfs/nfs_node.c
--- a/sys/nfs/nfs_node.c        Thu Dec 14 23:37:02 2000 +0000
+++ b/sys/nfs/nfs_node.c        Thu Dec 14 23:37:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_node.c,v 1.33 2000/03/30 12:51:14 augustss Exp $   */
+/*     $NetBSD: nfs_node.c,v 1.33.4.1 2000/12/14 23:37:05 he Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -158,6 +158,7 @@
        vp = nvp;
        np = pool_get(&nfs_node_pool, PR_WAITOK);
        memset((caddr_t)np, 0, sizeof *np);
+       lockinit(&np->n_commitlock, PINOD, "nfsclock", 0, 0);
        vp->v_data = np;
        np->n_vnode = vp;
        /*



Home | Main Index | Thread Index | Old Index