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.30 (requested by fvdl):



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

description:
Pull up revision 1.30 (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/nfsnode.h |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 3d90136a3636 -r f3887f6462d6 sys/nfs/nfsnode.h
--- a/sys/nfs/nfsnode.h Thu Dec 14 23:37:22 2000 +0000
+++ b/sys/nfs/nfsnode.h Thu Dec 14 23:37:30 2000 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: nfsnode.h,v 1.29 2000/03/30 02:46:36 simonb Exp $     */
+/*      $NetBSD: nfsnode.h,v 1.29.4.1 2000/12/14 23:37:30 he Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -134,8 +134,20 @@
        uid_t                   n_accuid;       /* Last access requester */
        int                     n_accmode;      /* Mode last requested */
        int                     n_accerror;     /* Error last returned */
+       off_t                   n_pushedlo;     /* 1st blk in commited range */
+       off_t                   n_pushedhi;     /* Last block in range */
+       off_t                   n_pushlo;       /* 1st block in commit range */
+       off_t                   n_pushhi;       /* Last block in range */
+       struct lock             n_commitlock;   /* Serialize commits XXX */
+       int                     n_commitflags;
 };
 
+/*
+ * Values for n_commitflags
+ */
+#define NFS_COMMIT_PUSH_VALID  0x0001          /* push range valid */
+#define NFS_COMMIT_PUSHED_VALID        0x0002          /* pushed range valid */
+
 #define n_atim         n_un1.nf_atim
 #define n_mtim         n_un2.nf_mtim
 #define n_sillyrename  n_un3.nf_silly



Home | Main Index | Thread Index | Old Index