lkml.org 
[lkml]   [1999]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectNFS and cached atime
Date
I just noticed that even if I mount my NFS mailspool with noac, the
atime stamp doesn't get updated when I read the file. This ofcourse
is because the file is cached in memory, and NFS has no open/close.
It happens on both 2.0.36 and 2.2.7

Right now my "you have new mail" doesn't work, because even if I read
my mail, the atime stamp doesn't get updated.

Sounds like upon a read, the NFS client should update the atime on
the server even if the file was cached. Ofcourse this shouldn't
happen too often - perhaps acatimemin and acatimemax mount options
should be considered? Or as a workaround only after the first read()
on a freshly opened file?

Mike.
--
Indifference will certainly be the downfall of mankind, but who cares?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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