Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751244AbXAIJuF (ORCPT ); Tue, 9 Jan 2007 04:50:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751241AbXAIJuE (ORCPT ); Tue, 9 Jan 2007 04:50:04 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:42150 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751244AbXAIJuA (ORCPT ); Tue, 9 Jan 2007 04:50:00 -0500 Date: Tue, 9 Jan 2007 09:49:35 +0000 From: Christoph Hellwig To: Josef Sipek Cc: Andrew Morton , Shaya Potter , "Josef 'Jeff' Sipek" , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, hch@infradead.org, viro@ftp.linux.org.uk, torvalds@osdl.org, mhalcrow@us.ibm.com, David Quigley , Erez Zadok Subject: Re: [PATCH 01/24] Unionfs: Documentation Message-ID: <20070109094935.GA12406@infradead.org> Mail-Followup-To: Christoph Hellwig , Josef Sipek , Andrew Morton , Shaya Potter , Josef 'Jeff' Sipek , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@ftp.linux.org.uk, torvalds@osdl.org, mhalcrow@us.ibm.com, David Quigley , Erez Zadok References: <1168229596580-git-send-email-jsipek@cs.sunysb.edu> <1168229596875-git-send-email-jsipek@cs.sunysb.edu> <20070108111852.ee156a90.akpm@osdl.org> <20070108131957.cbaf6736.akpm@osdl.org> <20070108232516.GB1269@filer.fsl.cs.sunysb.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070108232516.GB1269@filer.fsl.cs.sunysb.edu> User-Agent: Mutt/1.4.2.2i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1065 Lines: 22 On Mon, Jan 08, 2007 at 06:25:16PM -0500, Josef Sipek wrote: > > There's no such problem with bind mounts. It's surprising to see such a > > restriction with union mounts. > > Bind mounts are a purely VFS level construct. Unionfs is, as the name > implies, a filesystem. Last year at OLS, it seemed that a lot of people > agreed that unioning is neither purely a fs construct, nor purely a vfs > construct. > > I'm using Unionfs (and ecryptfs) as guinea pigs to make linux fs stacking > friendly - a topic to be discussed at LSF in about a month. And unionfs is the wrong thing do use for this. Unioning is a complex namespace operation and needs to be implemented in the VFS or at least needs a lot of help from the VFS. Getting namespace cache coherency and especially locking right is imposisble with out that. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/