From: Casper.Dik@Holland.Sun.COM (Casper H.S. Dik - Network Security Engineer)
Subject: Re: st_atime not being updated over NFS mount
Date: 1996/09/20 [thread overview]
Message-ID: <51u8oh$hph@flonk.uk.sun.com> (raw)
In-Reply-To: ieyn2ywy3jv.fsf@cs20.cs.auckland.ac.nz
Gary Wong <gary@cs20.cs.auckland.ac.nz> writes:
>changed; if I read the file several times in a row over an interval of
>several minutes, the first read would update the timestamp, but subsequent
>ones wouldn't. Is there some caching effect getting in the way here?)
>Both the server and client machines in question are running Digital UNIX
>4.0, and the filesystem is an advfs. Has anybody got any ideas what's
>causing this problem, or what I might try to fix it?
The cause is client side caching, since most if not all NFS clients leave
atime updates to the server, client side reads satisfied from the client's
cache will not cause atime updates on the server as there are no
server side reads.
You can get the result you want by disabling client side caching, but I
think you'll agree that the cure is worse than the ailment.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Unsolicited e-mail advertisements sent to my address will be proofread
for a $250 flat fee.
prev parent reply other threads:[~1996-09-20 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-12 4:00 st_atime not being updated over NFS mount Gary Wong
1996-09-20 4:00 ` Casper H.S. Dik - Network Security Engineer [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox