[OpenAFS-devel] Some tests and questions about fs setquota

Chas Williams (CONTRACTOR) chas@cmf.nrl.navy.mil
Mon, 24 Nov 2008 07:34:43 -0500


In message <4929C87A.9080200@rampaginggeek.com>,Jason Edgecombe writes:
>If we want to allow a negative quota to disable all writes, then I 
>propose that we only allow -1. Then again, 1 is almost as effective 
>assuming that the volume has a few files in it.

if you choose to go this route, then you will have a complete range of
negative quotas and cut the quota range in half.  using a single bit from
the value range is wasteful -- there is no reason for quota to be signed.