[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Weiyi Yang <Weiyi Yang 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]