From: "Talpey, Thomas" Subject: Re: Delays on "first" access to a NFS mount Date: Wed, 07 Mar 2007 16:23:23 -0500 Message-ID: References: <20070307112347.6a40faff.simon.peter@gmx.de> <20070307160633.77afb618.simon.peter@gmx.de> <20070307154240.GB26553@fieldses.org> <20070307194418.97fee0ec.simon.peter@gmx.de> <20070307205016.GI26553@fieldses.org> <20070307211729.GO26553@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: nfs@lists.sourceforge.net, Simon Peter To: "J. Bruce Fields" Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1HP3bl-00070r-PG for nfs@lists.sourceforge.net; Wed, 07 Mar 2007 13:23:38 -0800 Received: from mx2.netapp.com ([216.240.18.37]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HP3bn-0000uU-Q5 for nfs@lists.sourceforge.net; Wed, 07 Mar 2007 13:23:39 -0800 In-Reply-To: <20070307211729.GO26553@fieldses.org> References: <20070307112347.6a40faff.simon.peter@gmx.de> <20070307160633.77afb618.simon.peter@gmx.de> <20070307154240.GB26553@fieldses.org> <20070307194418.97fee0ec.simon.peter@gmx.de> <20070307205016.GI26553@fieldses.org> <20070307211729.GO26553@fieldses.org> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net At 04:17 PM 3/7/2007, J. Bruce Fields wrote: >There's an expiry time that's passed down with each cache entry. In >this particular case it's 30 minutes. There's also a "flush" file you >can write to to ask that the whole cache be flushed. I don't remember >how this works in detail, though. Aha - so the time comes from mountd. There's some sort of refresh timer that the kernel triggers though. So it's not a deadline of this time (I think). Or is it. The "flush" file lives in /proc/net/rpc/nfsd.export, and you write an integer value to it. I *think* it then flushes any entries which are more than that many seconds old. The whole thing makes my head hurt and I try not to look at it. Tom. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs