From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [PATCH 0/7] Permit filesystem local caching and NFS superblock sharing [try #13] Date: Tue, 05 Sep 2006 10:57:06 +0100 Message-ID: <4012.1157450226@warthog.cambridge.redhat.com> References: <1157421445.5510.13.camel@localhost> <20060901195009.187af603.akpm@osdl.org> <20060831102127.8fb9a24b.akpm@osdl.org> <20060830135503.98f57ff3.akpm@osdl.org> <20060830125239.6504d71a.akpm@osdl.org> <20060830193153.12446.24095.stgit@warthog.cambridge.redhat.com> <27414.1156970238@warthog.cambridge.redhat.com> <9849.1157018310@warthog.cambridge.redhat.com> <9534.1157116114@warthog.cambridge.redhat.com> <20060901093451.87aa486d.akpm@osdl.org> <1157130044.5632.87.camel@localhost> <28945.1157370732@warthog.cambridge.redhat.com> <1157376295.3240.13.camel@raven.themaw.net> Reply-To: Linux filesystem caching discussion list Cc: Andrew Morton , nfsv4@linux-nfs.org, linux-kernel@vger.kernel.org, torvalds@osdl.org, linux-cachefs@redhat.com, linux-fsdevel@vger.kernel.org, Ian Kent Return-path: In-Reply-To: <1157421445.5510.13.camel@localhost> To: Trond Myklebust List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-cachefs-bounces@redhat.com Errors-To: linux-cachefs-bounces@redhat.com List-Id: linux-fsdevel.vger.kernel.org Trond Myklebust wrote: > Why the hell is it doing a mkdir in the first place? I think the problems it is solving are these: (1) What happens if "/" is _not_ exported? (2) What happens if some intermediate directory (say "/usr") is not accessible? In the first case, the automounter just makes "usr" and "usr/src", say, in the autofs filesystem, and then mounts server:/usr/src on that. In the second case, the automounter relies on NFS letting it make intervening directories it couldn't otherwise access to span the gap between "/" and "src". David