Re: NFS caching problems

Jon Tombs (jon@gte.esi.us.es)
Thu, 7 Mar 1996 21:33:46 +0100 (MET)


Matthias Urlichs said:
>
> My mail folder is mounted across NFS.
>
> This doesn't work.
>
> The problem seems to be that the last file block is partially filled, a=
> nd
> it is cached. If the file subsequently grows, I'll have an ugly block o=
> f
> NULLs in there until the cache times out. :-( The file's growth itself
> seems to be noted by the client without problems.
>
> Any good ideas how to solve that? The problem isn't confined to mail
> spools...

I can confirm this problem, updating an open nfs file on a remote host
results in corrupt files. I assume the nfs code should invalidate the
cache whenever there is a change on the remote files attributes.

-- 
Jon. <jon@gte.esi.us.es, http://www.esi.us.es/~jon>