Re: HEADS UP: 64-bit quotas going in to head today

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Wed, 12 May 2010 14:05:06 +0200
Kostik Belousov <kostikbel_at_gmail.com> writes:
> Dag-Erling Smørgrav <des_at_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
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Wed May 12 2010 - 10:07:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC