svn commit: r232317 - in head: . sys/kern sys/sys

John Baldwin jhb at freebsd.org
Thu Mar 1 16:53:03 UTC 2012


On Wednesday, February 29, 2012 6:44:47 pm Bjoern A. Zeeb wrote:
> 
> On 29. Feb 2012, at 21:38 , Mikolaj Golub wrote:
> 
> > Author: trociny
> > Date: Wed Feb 29 21:38:31 2012
> > New Revision: 232317
> > URL: http://svn.freebsd.org/changeset/base/232317
> > 
> > Log:
> >  Introduce VOP_UNP_BIND(), VOP_UNP_CONNECT(), and VOP_UNP_DETACH()
> >  operations for setting and accessing vnode's v_socket field.
> > 
> >  The operations are necessary to implement proper unix socket handling
> >  on layered file systems like nullfs(5).
> > 
> >  This change fixes the long standing issue with nullfs(5) being in that
> >  unix sockets did not work between lower and upper layers: if we bound
> >  to a socket on the lower layer we could connect only to the lower
> >  path; if we bound to the upper layer we could connect only to the
> >  upper path. The new behavior is one can connect to both the lower and
> >  the upper paths regardless what layer path one binds to.
> 
> At this point I wonder if jhb has added (enough) spares with an earlier MFC 
of another change or whether we'll break thing again?

Well, we added 5.  This will use up 3 of the 5 in 9.  Presumably most new VOPs
would be added one at a time, so having 2 available still gives us some room.

-- 
John Baldwin


More information about the svn-src-head mailing list