From a5f60ab1cfad6cda9e50af06ccb3c5e78d658e91 Mon Sep 17 00:00:00 2001 From: dg Date: Mon, 8 Aug 1994 09:11:44 +0000 Subject: Changed B_AGE policy to work correctly in a world with relatively large buffer caches. The old policy generally ended up caching nothing. --- sys/fs/cd9660/cd9660_vnops.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/fs/cd9660') diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c index 691a6ec..368a66d 100644 --- a/sys/fs/cd9660/cd9660_vnops.c +++ b/sys/fs/cd9660/cd9660_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vnops.c 8.3 (Berkeley) 1/23/94 - * $Id$ + * $Id: cd9660_vnops.c,v 1.3 1994/08/02 07:41:36 davidg Exp $ */ #include @@ -280,9 +280,6 @@ cd9660_read(ap) } error = uiomove(bp->b_un.b_addr + on, (int)n, uio); - if (n + on == imp->logical_block_size || - uio->uio_offset == (off_t)ip->i_size) - bp->b_flags |= B_AGE; brelse(bp); } while (error == 0 && uio->uio_resid > 0 && n != 0); return (error); -- cgit v1.1