Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2012 11:55:20 +0200
From:      Mikolaj Golub <trociny@freebsd.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        "Robert N. M. Watson" <rwatson@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: unix domain sockets on nullfs(5)
Message-ID:  <86ehtrf8qf.fsf@kopusha.home.net>
In-Reply-To: <20120218215003.GM3283@deviant.kiev.zoral.com.ua> (Konstantin Belousov's message of "Sat, 18 Feb 2012 23:50:03 %2B0200")
References:  <86sjjobzmn.fsf@kopusha.home.net> <D1B8F00C-1E0D-4916-BD4B-FBCAE28E6F22@FreeBSD.org> <86fwfnti5t.fsf@kopusha.home.net> <CAOnPXZ_y5G6uEBWmfuH7qYBh%2B4Pw=O91ztCPEFCOTzWdCzx%2BRA@mail.gmail.com> <BBDE763A-F55E-453D-A503-2489C9040EF6@freebsd.org> <20120112215106.GC31224@deviant.kiev.zoral.com.ua> <86hazntwmu.fsf@kopusha.home.net> <20120123031238.GL31224@deviant.kiev.zoral.com.ua> <86zkcfu9ac.fsf@kopusha.home.net> <20120218215003.GM3283@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 18 Feb 2012 23:50:03 +0200 Konstantin Belousov wrote:

 KB> On Sat, Feb 18, 2012 at 11:22:03PM +0200, Mikolaj Golub wrote:
 >> After collecting all suggestions and additional testing I have got this patch
 >> set:
 >> 
 >> http://people.freebsd.org/~trociny/unp_prepare_reclaim.1.patch
 KB> Including unpcb.h into vfs_subr.c looks too extreme. Put the prototype
 KB> into vnode.h, possibly renaming the function to vfs_unp_reclaim.

Done.

 >> http://people.freebsd.org/~trociny/unp_connect.LOCKSHARED.1.patch
 >> http://people.freebsd.org/~trociny/VOP_UNP.3.patch
 KB> I has a painting suggestion there, call the vops VOP_UNP_DETACH etc,
 KB> otherwise it takes too much reading to understand that it is not undetach.

Unfortunately, vnode_if.awk does not support underscores in VOP names. It
failed with "Invalid %% construction" due to the restriction: $2 !~ /^[a-z]+$/.
So I reverted back to the old naming.

The updated patches:

http://people.freebsd.org/~trociny/unp_prepare_reclaim.2.patch
http://people.freebsd.org/~trociny/unp_connect.LOCKSHARED.1.patch
http://people.freebsd.org/~trociny/VOP_UNP.4.patch

-- 
Mikolaj Golub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ehtrf8qf.fsf>