From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [PATCH 1/4] VFS: Add a VFS helper function vfs_remote_path_lookup() Date: Tue, 31 Mar 2009 17:16:47 -0700 (PDT) Message-ID: References: <3f1264127d431f695be25b940b477e3d287edc68.1238525532.git.Trond.Myklebust@netapp.com> <1238539079.28445.103.camel@heimdal.trondhjem.org> <1238542722.28445.154.camel@heimdal.trondhjem.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, hch@infradead.org To: Trond Myklebust Return-path: Received: from smtp1.linux-foundation.org ([140.211.169.13]:38345 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758086AbZDAAUK (ORCPT ); Tue, 31 Mar 2009 20:20:10 -0400 In-Reply-To: <1238542722.28445.154.camel@heimdal.trondhjem.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, 31 Mar 2009, Trond Myklebust wrote: > > However, if your mount point filehandle has expired, then chances are > that you'll probably have to look up all the filehandles in the mount > path again too, so why should you cache all that information? No, that' not the caching I was thinking about. I meant literally just the "namespace" thing. Keeping that around as long as you have a export active. How many of those do you have on your average nfs server? Why not just create those nfsd namespaces once for each export at startup, and destroy them at exit. Linus