[patch] giant-less quotas

Antoine Brodin antoine.brodin at laposte.net
Fri Mar 3 18:04:17 GMT 2006


Kostik Belousov <kostikbel at gmail.com> wrote:
> I have developed patch to make ufs quota code working without
> Giant, i.e. properly lock dquot and all around.
> 
> You can find the patch and description of the changes at
> http://kostikbel.narod.ru. Please, review.

Hi,

I did similar work 6 months ago but I don't have the time to work on it
anymore.
The patches are at:
http://bsd.miki.eu.org/~antoine/quota/quota-simple.diff and
http://bsd.miki.eu.org/~antoine/quota/quota-full.diff
IIRC I used an sx lock because you can fault and sleep while
copyin/copyout

Cheers,

Antoine


More information about the freebsd-current mailing list