From: Stefan Egli Subject: Re: NFS v3 cached directory content out of sync Date: Tue, 25 Aug 2009 21:06:08 +0200 Message-ID: References: <1250880591.27154.18.camel@heimdal.trondhjem.org> <1250962724.8143.29.camel@heimdal.trondhjem.org> <1251115893.6325.23.camel@heimdal.trondhjem.org> <1251226809.25372.29.camel@heimdal.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-nfs To: Trond Myklebust Return-path: Received: from mail-bw0-f219.google.com ([209.85.218.219]:39720 "EHLO mail-bw0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755639AbZHYTGI (ORCPT ); Tue, 25 Aug 2009 15:06:08 -0400 Received: by bwz19 with SMTP id 19so2097775bwz.37 for ; Tue, 25 Aug 2009 12:06:09 -0700 (PDT) In-Reply-To: <1251226809.25372.29.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: 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