Re: NFS still has caching problem

really (
11 Jul 1996 17:49:16 +0400

Kees Bakker (kees_bakker@tasking.NL) wrote:

: Notice that this part only checks for changed file sizes, not for anything
: else. Perhaps you are assuming that modification times are check somewhere
: else, but it certainly does not affect this part. I tried a little patch,
: which seems to work, but I don't know if this is the right place to make
: this modification. This is what I tried:

It is bug, but patch is wrong. First, it will invalidate cache
every time when YOU write to remote file. Second, Linux VFS mangles
mtime, so that you should remember that inode has 2 mtimes: local
and remote. Real fix is a bit more complicated.
I'll send patch when temperature in my room will fall below 25C 8),
if someone (Olaf?) will not fix it to this time.

Alexey Kuznetsov.