Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 14:05:06 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-current@freebsd.org, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: HEADS UP: 64-bit quotas going in to head today
Message-ID:  <86hbmduxzh.fsf@ds4.des.no>
In-Reply-To: <20100511193333.GW83316@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Tue, 11 May 2010 22:33:33 %2B0300")
References:  <201005070036.o470a3pl044330@chez.mckusick.com> <hs0m1e$ovp$1@dough.gmane.org> <86d3x24a43.fsf@ds4.des.no> <20100511193333.GW83316@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Kostik Belousov <kostikbel@gmail.com> writes:
> Dag-Erling Sm=C3=B8rgrav <des@des.no> 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



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