From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765289AbZDAAUa (ORCPT ); Tue, 31 Mar 2009 20:20:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759628AbZDAAUM (ORCPT ); Tue, 31 Mar 2009 20:20:12 -0400 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 Date: Tue, 31 Mar 2009 17:16:47 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Trond Myklebust cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, hch@infradead.org Subject: Re: [PATCH 1/4] VFS: Add a VFS helper function vfs_remote_path_lookup() In-Reply-To: <1238542722.28445.154.camel@heimdal.trondhjem.org> Message-ID: References: <3f1264127d431f695be25b940b477e3d287edc68.1238525532.git.Trond.Myklebust@netapp.com> <1238539079.28445.103.camel@heimdal.trondhjem.org> <1238542722.28445.154.camel@heimdal.trondhjem.org> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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