Bug 909798
| Summary: | Quota doesn't handle directory names with ','. | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Vijay Bellur <vbellur> |
| Component: | quota | Assignee: | vpshastry <vshastry> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | mainline | CC: | gluster-bugs, ndevos, nsathyan, rgowdapp, rwheeler |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-11 15:34:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Vijay Bellur
2013-02-11 05:59:38 UTC
This is a known issue (well, not sure if we documented this), as we take multiple directories for quota limit, ',' is used to separate the 'directory:value' pairs. We can fix it, but we will have to take down support for some other character to handle these options. Let us know what are the possible characters which we don't need to handle. Change http://review.gluster.org/#/c/5952 brings the new design and this allows the directory names with ','. Cause: Earlier quota configuration was based on the path. So, we store the paths that are configured in the volfile with specific format using ',' as delimiter <path>:<hard-limit>,<path>:<hard-limit>,... So, the directory names with ',' causes the parser to go wrong. In the new approach the quota is based on the inode (ie quota limit conf follows the directory with the rename). And we store the configuration differently and no more parser problems. *** This bug has been marked as a duplicate of bug 969461 *** |