Bug 1115197
Summary: | Directory quota does not apply on it's sub-directories | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Peter Auyeung <pauyeung> |
Component: | quota | Assignee: | Vijaikumar Mallikarjuna <vmallika> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.5.1 | CC: | bugs, gluster-bugs, ndevos, smohan, vmallika |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.5.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-06-03 21:08:09 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: | |||
Bug Depends On: | 1080296 | ||
Bug Blocks: |
Description
Peter Auyeung
2014-07-01 20:41:49 UTC
Hi Peter, This issue is fixed in glusterfs-3.6.1. Can you please try your test-case in 3.6.1 or above? Thanks! I will try it out on our QA gluster once it's ready. But meanwhile we are not prepared to upgrade our prod to 3.6.1.... Would that be possible to patch 3.5 ? Thanks Peter REVIEW: http://review.gluster.org/9510 (features/quota: Send the immediate parent with limit in quota statfs adjustment) posted (#1) for review on release-3.5 by Vijaikumar Mallikarjuna (vmallika) COMMIT: http://review.gluster.org/9510 committed in release-3.5 by Niels de Vos (ndevos) ------ commit 6518a79634ba505ed06e930907ebf956f8784b7d Author: vmallika <vmallika> Date: Fri Jan 30 12:10:38 2015 +0530 features/quota: Send the immediate parent with limit in quota statfs adjustment This is a backport of http://review.gluster.org/#/c/7330 > Problem: > Assume the directory structure /quota_limit_dir/subdir and > quota_limit_dir is > set with some limit. When quota-deem-statfs is enabled the output of > 'df /quota_limit_dir' would display quota modified values wrt to > quota_limit_dir where as 'df /quota_limit_subdir/subdir' would display > the quota modified values wrt volume root (/). > > This behaviour is not expected since, when mounted with subdirectory > admin doesn't want users to know information above the subdirectory mounted. > > Solution: > Any subdirectory within a quota_limit_dir would show the modified values > as in the /quota_limit_dir. It searches for the nearest parent that has quota > limit set and modifies the statvfs wrt that. > > Change-Id: Ie10fae8999bddbb766b1dbeb881723ed80dce688 > BUG: 1080296 > Signed-off-by: Varun Shastry <vshastry> > Reviewed-on: http://review.gluster.org/7330 > Reviewed-by: Raghavendra G <rgowdapp> > Tested-by: Raghavendra G <rgowdapp> Change-Id: I5232a82da20d3dfd48303ba2748b86cfc96ff864 BUG: 1115197 Signed-off-by: vmallika <vmallika> Reviewed-on: http://review.gluster.org/9510 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Niels de Vos <ndevos> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.5.4, please reopen this bug report. glusterfs-3.5.4 has been announced on the Gluster Packaging mailinglist [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.packaging/2 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |