Re: [PATCH 1/4] VFS: Add a VFS helper functionvfs_remote_path_lookup()

From: Linus Torvalds
Date: Tue Mar 31 2009 - 20:20:30 EST




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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/