[964] in NetBSD-Development
Re: cache consistency...
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Aug 23 13:34:20 1995
To: "Michael T. Stolarchuk" <mts@terminator.rs.itd.umich.edu>
Cc: netbsd-afs@MIT.EDU
In-Reply-To: Your message of "Wed, 23 Aug 1995 13:11:21 EDT."
<199508231711.NAA19871@terminator.rs.itd.umich.edu>
Date: Wed, 23 Aug 1995 13:34:02 EDT
From: Greg Hudson <ghudson@MIT.EDU>
> I belive it happens cause the callback doesn't vnode_pager_uncache
> (tho it may not be able to), and it must be the case that vi doesn't
> close the fd its reading from... if I exit vi and vi the same file,
> the changes appear correctly (since afs_vcache does the
> vnode_pager_uncache)...
> Does this sound familiar?
I can reproduce this bug under NetBSD-AFS 1.21 and 1.25 (the latter of
which isn't released). There is a similar problem (which we've fixed
between 1.21 and 1.25) with releasing files to read-only volumes, but
we don't seem to have fixed your bug.
Since John Kohl has been busy lately, I'm sure he'd appreciate it if
you could find a patch to fix the problem (i.e. the right place to
call vnode_pager_uncache, which took a little trial and error when we
went through this for the release problem). Otherwise, either he or I
will get to it sometime.
Thanks for the bug report.