From: Neil Brown Subject: Re: Delays on "first" access to a NFS mount Date: Thu, 8 Mar 2007 09:12:09 +1100 Message-ID: <17903.14521.408365.463060@notabene.brown> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: nfs@lists.sourceforge.net, "Talpey, Thomas" , 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 1HP4Mt-0003kK-Mj for nfs@lists.sourceforge.net; Wed, 07 Mar 2007 14:12:19 -0800 Received: from mx2.suse.de ([195.135.220.15]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HP4Mv-0004b3-AW for nfs@lists.sourceforge.net; Wed, 07 Mar 2007 14:12:21 -0800 In-Reply-To: message from J. Bruce Fields on Wednesday March 7 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 On Wednesday March 7, bfields@fieldses.org wrote: > > Hm. Would it be enough just to hold an open file descriptor for the > directory? Is it safe to assume that for any filesystem (uh, any disk > filesystem anyway) that if you have something open then stat() on it > won't have to go to the disk? Trouble with holding an open file descriptor is that sometimes people want to unmount their export filesystems, and an open file descriptor will stop that. Currently you can "exportfs -f" and unmount/remount (as long as no client is actively using it. NeilBrown ------------------------------------------------------------------------- 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