RFC: adding 'proxy' nodes to provider ports (with patch)

Luigi Rizzo rizzo at iet.unipi.it
Thu Mar 19 04:08:53 PDT 2009


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


More information about the freebsd-geom mailing list