[Gluster-devel] quota

Vijay Bellur vbellur at redhat.com
Mon Oct 13 14:14:25 UTC 2014


On 10/13/2014 06:19 PM, Emmanuel Dreyfus wrote:
> Hello
>
> Testing quota feature on NetBSD, I get strange results, I wonder if
> this is what should happen.
>
> If I set a directory quota to 4 MB, the start writing to it uwing
> dd bs=1024k, I will get EDQUOTA after 15 blocks (that is 15 MB).
>
> Is there a minimal granularity, or do I have a bug to fix?
>

You would need to set features.soft-timeout and features.hard-timeout 
values to 0 when testing with lower values of directory quota.

I have a WIP patch describing these options at [1].

-Vijay

[1] 
http://review.gluster.org/#/c/8423/1/doc/admin-guide/en-US/markdown/admin_quota.md




More information about the Gluster-devel mailing list