lkml.org 
[lkml]   [1996]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: NFS still has caching problem
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.


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.097 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site