[963] in NetBSD-Development

home help back first fref pref prev next nref lref last post

cache consistency...

daemon@ATHENA.MIT.EDU (Michael T. Stolarchuk)
Wed Aug 23 13:11:38 1995

To: netbsd-afs@MIT.EDU
Cc: mts@terminator.rs.itd.umich.edu
Date: Wed, 23 Aug 1995 13:11:21 -0400
From: "Michael T. Stolarchuk" <mts@terminator.rs.itd.umich.edu>


I'm having a problem with cache consistency with
netbsd-afs, but before I try to fix it, I figured
I'd ask if the bug sounds familiar...

I'm using vi, and I'm editing the same file on
two machines... one of which is the netbsd machine

I add lines to the file from the other machine,
then :e! the vi on the netbsd machine....  When I
do, I get zero's where the end of the file ought to
be, and the changes don't show up.

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?


mts.

home help back first fref pref prev next nref lref last post