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

Dag-Erling Smørgrav des at des.no
Wed May 12 12:07:16 UTC 2010


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


More information about the freebsd-current mailing list