From owner-freebsd-fs@FreeBSD.ORG Sat Dec 8 21:12:32 2012 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0D93F44; Sat, 8 Dec 2012 21:12:32 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 824BF8FC13; Sat, 8 Dec 2012 21:12:32 +0000 (UTC) Received: from [10.236.164.166] (160.sub-174-234-0.myvzw.com [174.234.0.160]) by elvis.mu.org (Postfix) with ESMTPSA id DFF081A3C36; Sat, 8 Dec 2012 13:12:25 -0800 (PST) References: <20121208010109.GH3013@kib.kiev.ua> Mime-Version: 1.0 (1.0) In-Reply-To: <20121208010109.GH3013@kib.kiev.ua> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPhone Mail (10A523) From: Alfred Perlstein Subject: Re: nullfs changes MFC Date: Sat, 8 Dec 2012 13:12:19 -0800 To: Konstantin Belousov Cc: "stable@freebsd.org" , "fs@freebsd.org" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 21:12:32 -0000 By combining vop_settext/unset/get into a single call with parameters "op" a= nd &out (for gettext) you can reduce 3 new vops into a single vop.=20 The same can be done for write count vops.=20 This will allow you to preserve kbi by reducing the vop additions to 2.=20 Sent from my iPhone On Dec 7, 2012, at 5:01 PM, Konstantin Belousov wrote:= > Hi, > I am going to merge latest batch of the nullfs improvements into > stable/9. This will bring up significant performance enchancements due > to use of the shared locks for lookups if the lower layer supports it, > much better caching on the nullfs layer, and proper handling of the text > segments on the nullfs. Also, it should improve the error recovery and > some corner cases with locking. >=20 > Unfortunately, the merge would break KBI for VFS, since it needs 5 new > VOP slots, and only three spares are left. We already are very liberal > with the VFS KBI, so I do not feel that the merge is not acceptable, due > to the benefits it brings to the nullfs. >=20 > The merge is available at=20 > http://people.freebsd.org/~kib/misc/nullfs_9.1.patch