From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [RFC] shared subtrees Date: Sun, 16 Jan 2005 00:51:26 +0000 Message-ID: <20050116005126.GP26051@parcelfarce.linux.theplanet.co.uk> References: <20050113221851.GI26051@parcelfarce.linux.theplanet.co.uk> <20050116004659.GA6556@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:18114 "EHLO parcelfarce.linux.theplanet.co.uk") by vger.kernel.org with ESMTP id S262377AbVAPAv1 (ORCPT ); Sat, 15 Jan 2005 19:51:27 -0500 To: "J. Bruce Fields" Content-Disposition: inline In-Reply-To: <20050116004659.GA6556@fieldses.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sat, Jan 15, 2005 at 07:46:59PM -0500, J. Bruce Fields wrote: > On Thu, Jan 13, 2005 at 10:18:51PM +0000, Al Viro wrote: > > 2. mount > > > > We have a new vfsmount A and want to attach it to mountpoint somewhere in > > vfsmount B. If B does not belong to any p-node, everything is as usual; A > > doesn't become a member or slave of any p-node and is simply attached to B. > > > > If B belongs to a p-node p, consider all vfsmounts B1,...,Bn that get events > > propagated from B and all p-nodes p1,...,pk that contain them. > > * A gets cloned into n copies and these copies (A1,...,An) are attached > > to corresponding points in B1,...,Bn. > > * k new p-nodes (q1,...,qk) are created > > * Ai is contained in qj <=> Bi is contained in qj > > Minor typo: looks like that second qj should be pj. ACK