Re: NFS and cached atime

Miquel van Smoorenburg (miquels@cistron.nl)
Fri, 30 Apr 1999 12:39:36 +0200


According to Trond Myklebust:
> miquels@cistron.nl (Miquel van Smoorenburg) writes:
> > Sounds like upon a read, the NFS client should update the atime on
> > the server even if the file was cached.
>
> This is all fairly easy to implement. I'd suggest just comparing the
> cached value of atime with the current time, and updating it in
> nfs_file_read if the discrepancy exceeds some timeout value.

I've checked BSDI 4.0 talking to a NetApp NFS server, and it behaves
the same as Linux; atime doesn't get updated.

> What are people's feelings about this?

I wonder about that too - what do other systems do ?

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/