Having read the code, negative quota values should not be sent
by the client and should not be accepted by the server UNLESS
the intention is to force the volume to always be over quota.

Now the question is:  is this a technique that administrators
are taking advantage of?  If so, we should probably create a
real interface to do this as opposed to accepting negative
values.

Jeffrey Altman


Jason Edgecombe wrote:
> Hi everyone,
> 
> I have a test framework written in perl along with 4 tests files which
> include many tests.
> 
> Now what do I do with them?
> 
> For now, I have a git repo available at:
> /afs/dementia.org/home/edgester/git
> 
> In my testing, I found some interesting quirks:
> 1. fs setq honors negative quota as parameters except -1. fs lq confirms
> the negative quota. My tests assume negative quotas are correct.
> 2. fs setq allows for values larger than valid to be set and cause an
> overflow.
> 
> Should the quota be fixed to abort if a negative quota is specified?
> Should I modify the tests to fail if a negative quota is found?
> 
> Thanks,
> Jason
> _______________________________________________
> OpenAFS-devel mailing list
> [email protected]
> https://lists.openafs.org/mailman/listinfo/openafs-devel
> 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to