From owner-freebsd-arch@FreeBSD.ORG Thu Mar 19 11:08:53 2009 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 500691065670; Thu, 19 Mar 2009 11:08:53 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 110AD8FC23; Thu, 19 Mar 2009 11:08:52 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 1FECC73098; Thu, 19 Mar 2009 12:13:39 +0100 (CET) Date: Thu, 19 Mar 2009 12:13:39 +0100 From: Luigi Rizzo To: Pawel Jakub Dawidek Message-ID: <20090319111339.GA38075@onelab2.iet.unipi.it> References: <20090319081936.GA32750@onelab2.iet.unipi.it> <20090319094505.GA1539@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090319094505.GA1539@garage.freebsd.pl> User-Agent: Mutt/1.4.2.3i Cc: fabio@gandalf.sssup.it, geom@FreeBSD.org, phk@FreeBSD.org, arch@FreeBSD.org, ivan@FreeBSD.org Subject: Re: RFC: adding 'proxy' nodes to provider ports (with patch) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 11:08:53 -0000 On Thu, Mar 19, 2009 at 10:45:05AM +0100, Pawel Jakub Dawidek wrote: > > Hi, > > > > Fabio Checconi and I have been thinking on how to implement "proxy" > > geom nodes, i.e. nodes that have exactly 1 provider and 1 consumer > > port, do not do any data transformation, and can be transparently > > inserted or removed on top of a provider port while the tree is > > actively moving data. ... > > Overall the change is very small (see attached patch): > > a couple of lines in g_io_request, two extra fields in the g_provider, > > and the addition of a flag to gp->flags to control the generation > > of g_new_provider_event. It seems that the attachment was removed so here it is http://info.iet.unipi.it/~luigi/FreeBSD/20090319-geom-proxy.patch cheers luigi