diff options
author | dg <dg@FreeBSD.org> | 1994-08-08 09:11:44 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-08 09:11:44 +0000 |
commit | a5f60ab1cfad6cda9e50af06ccb3c5e78d658e91 (patch) | |
tree | cd38242284458e56c6e3c3915a1c3113712bc4b7 /sys/nfsclient | |
parent | f280e7f6e10002a1d5ce5112bd3c990cbc975305 (diff) | |
download | FreeBSD-src-a5f60ab1cfad6cda9e50af06ccb3c5e78d658e91.zip FreeBSD-src-a5f60ab1cfad6cda9e50af06ccb3c5e78d658e91.tar.gz |
Changed B_AGE policy to work correctly in a world with relatively large
buffer caches. The old policy generally ended up caching nothing.
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_bio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index 893aabf..381d8e3 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/nfs_bio.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_bio.c 8.5 (Berkeley) 1/4/94 - * $Id$ + * $Id: nfs_bio.c,v 1.3 1994/08/02 07:52:05 davidg Exp $ */ #include <sys/param.h> @@ -329,8 +329,6 @@ again: } switch (vp->v_type) { case VREG: - if (n + on == biosize || uio->uio_offset == np->n_size) - bp->b_flags |= B_AGE; break; case VLNK: n = 0; |