From owner-freebsd-arch@FreeBSD.ORG Sat Feb 25 17:48:24 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7950E106566C; Sat, 25 Feb 2012 17:48:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 085C38FC0A; Sat, 25 Feb 2012 17:48:23 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q1PHmIUP086383; Sat, 25 Feb 2012 19:48:18 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q1PHmIxq020059; Sat, 25 Feb 2012 19:48:18 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q1PHmIeu020058; Sat, 25 Feb 2012 19:48:18 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 25 Feb 2012 19:48:18 +0200 From: Konstantin Belousov To: Mikolaj Golub Message-ID: <20120225174818.GC55074@deviant.kiev.zoral.com.ua> References: <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> <86ehtrf8qf.fsf@kopusha.home.net> <20120219170151.GS3283@deviant.kiev.zoral.com.ua> <86d393dvqr.fsf@kopusha.home.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KdsnslqZnlo4hNtV" Content-Disposition: inline In-Reply-To: <86d393dvqr.fsf@kopusha.home.net> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: "Robert N. M. Watson" , freebsd-arch@freebsd.org Subject: Re: unix domain sockets on nullfs(5) 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: Sat, 25 Feb 2012 17:48:24 -0000 --KdsnslqZnlo4hNtV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 25, 2012 at 12:59:24PM +0200, Mikolaj Golub wrote: >=20 > On Sun, 19 Feb 2012 19:01:51 +0200 Konstantin Belousov wrote: >=20 > KB> On Sun, Feb 19, 2012 at 11:55:20AM +0200, Mikolaj Golub wrote: > >>=20 > >> On Sat, 18 Feb 2012 23:50:03 +0200 Konstantin Belousov wrote: > >>=20 > >> KB> On Sat, Feb 18, 2012 at 11:22:03PM +0200, Mikolaj Golub wrote: > >> >> After collecting all suggestions and additional testing I have go= t this patch > >> >> set: > >> >>=20 > >> >> http://people.freebsd.org/~trociny/unp_prepare_reclaim.1.patch > >> KB> Including unpcb.h into vfs_subr.c looks too extreme. Put the pro= totype > >> KB> into vnode.h, possibly renaming the function to vfs_unp_reclaim. > >>=20 > >> Done. > >>=20 > >> >> 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. > >>=20 > >> 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. > KB> Ok, might be it makes sense to try to add underscore to the set of > KB> allowed symbols. >=20 > >>=20 > >> The updated patches: > >>=20 > >> 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 >=20 > KB> In the comment above vfs_unp_reclaim(), say "before socket-type vnode > KB> reclamation". >=20 > KB> I have no further comments. >=20 > I have committed all preparation patches and going to commit the VOP_UNP_* > bits. The latest version: >=20 > http://people.freebsd.org/~trociny/VOP_UNP.6.patch >=20 > (in this version I added a note to UPDATING). Ok. >=20 > I am thinking now about 'MFC after'. Thanks to jhb's spare vops it looks = like > it is possible to merge it in stable/9 without breaking the KBI, but then= I > will consume 3 of 5 available spare vops. So is it worth doing? I do not think that we shall be so restrained on the use of spare VOPs. --KdsnslqZnlo4hNtV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk9JHuIACgkQC3+MBN1Mb4ix9QCfYo5dPvO7xhCXCCPwq89miWYX SwQAn2vKifyWasEIR4E8zmD5lb7F4voM =5vZu -----END PGP SIGNATURE----- --KdsnslqZnlo4hNtV--