2009-08-25 19:50:10

by Trond Myklebust

[permalink] [raw]
Subject: Re: NFS v3 cached directory content out of sync

On Tue, 2009-08-25 at 21:45 +0200, Stefan Egli wrote:
> Thanks Mates! I've seen those manuals but the bug I'm chasing doesn't
> seem to be documented ;)
>
> Just now that I got your attention :) one final clarification question:
> * the attribute cache (==metadata cache) is part of the nfs client code
> * the date (=file content) cache would be the normal linux caching

Yes.
data == file contents.
metadata == file attributes (i.e. stat() info, acls,...)

Both will be cached by the client, but the rules for how to cache them
differ.