[Linux-cachefs] file on server is newer than in cache?

David Howells dhowells at redhat.com
Thu May 24 11:35:43 UTC 2007


Weiyi Yang <Weiyi.Yang at mmodal.com> wrote:

> I will like to learn how cachefs determines if there is a newer version of a
> files that's already in the cache. Does it check the last modified timestamp?

That's up to the network filesystem that's using it.  FS-Cache provides a
certain amount of auxiliary metadata space for each node in the cache.  This is
for the netfs to use as it sees fit.

AFS stores the data version number in there.

NFS stores the mtime, ctime and filesize in there.

David




More information about the Linux-cachefs mailing list