2009-08-25 19:06:08

by Stefan Egli

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

On Tue, Aug 25, 2009 at 9:00 PM, Trond Myklebust wrote:
> Yes. The NFS client will cache mtime whether or not you do an 'ls'. I
> suspect the only reason for the 'ls' in that launchpad bug report, is to
> force an mtime update (and to fill the readdir cache).

Ok, interesting. I guess though that 'something' needs to read at least
a file in that particular directory for the directory content to be
cached, right? (i.e. either an 'ls' or some create/delete of a file?)

Cheers,
Stefan