From owner-freebsd-current@FreeBSD.ORG Wed May 12 12:07:16 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 072E9106566B; Wed, 12 May 2010 12:07:16 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id BA3AC8FC1D; Wed, 12 May 2010 12:07:15 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id CDF7B1FFC51; Wed, 12 May 2010 12:07:14 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 055DA844B0; Wed, 12 May 2010 14:05:07 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Kostik Belousov References: <201005070036.o470a3pl044330@chez.mckusick.com> <86d3x24a43.fsf@ds4.des.no> <20100511193333.GW83316@deviant.kiev.zoral.com.ua> Date: Wed, 12 May 2010 14:05:06 +0200 In-Reply-To: <20100511193333.GW83316@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Tue, 11 May 2010 22:33:33 +0300") Message-ID: <86hbmduxzh.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Ivan Voras Subject: Re: HEADS UP: 64-bit quotas going in to head today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 12:07:16 -0000 Kostik Belousov writes: > Dag-Erling Sm=C3=B8rgrav writes: > > It adds quite a bit of code to pretty much every UFS VOP. > No, it does not. Essentially, it adds one or two function calls per > vop that allocate or deallocate blocks or inodes, and the function > bodies verify two array members and return if those are NULL. Read ufs_vnops.c, count the number of #ifdef QUOTA. There's quite a bit more than just "one or two function calls per vop". Quite a bit of locking going on, too, e.g. in ufs_accessx(). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no