From: Trond Myklebust Subject: Re: [Devel] Re: [patch 05/10] add "permit user mounts in new namespace" clone flag Date: Wed, 18 Apr 2007 15:00:47 -0400 Message-ID: <1176922847.6796.127.camel@heimdal.trondhjem.org> References: <20070416195652.GA350@sergelap.austin.ibm.com> <1176904505.6796.79.camel@heimdal.trondhjem.org> <1176906389.6796.96.camel@heimdal.trondhjem.org> <20070418150110.GA29815@infradead.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Miklos Szeredi , ebiederm@xmission.com, serue@us.ibm.com, linuxram@us.ibm.com, linux-fsdevel@vger.kernel.org, viro@ftp.linux.org.uk, containers@lists.osdl.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org To: Christoph Hellwig Return-path: Received: from pat.uio.no ([129.240.10.15]:58262 "EHLO pat.uio.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2993036AbXDRTBK (ORCPT ); Wed, 18 Apr 2007 15:01:10 -0400 In-Reply-To: <20070418150110.GA29815@infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, 2007-04-18 at 16:01 +0100, Christoph Hellwig wrote: > I suspect the right answer here is to make nfs mount handling smarter. > The way mounting works the filesystem is allowed to choose whether it > can re-used a superblock or needs a new one. In the NFS case we probably > want to allow multiple superblocks for the same export if important > paramaters like the security model mismatch. It might also be another application for layering. If I were able to share enough of the inode and dentry information between superblocks, then all sorts of interesting possibilities arise... Cheers Trond