Bug 1046894

Summary: quota: after quota remove command and still quota-deem-statfs on the df -h shows the "size" field shows lower value
Product: [Community] GlusterFS Reporter: vpshastry <vshastry>
Component: quotaAssignee: vpshastry <vshastry>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: gluster-bugs, nsathyan, saujain, spalai, vbellur, vshastry
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.5.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1030432 Environment:
Last Closed: 2014-04-17 11:52:25 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: 1030432    
Bug Blocks:    

Comment 1 Anand Avati 2013-12-27 10:25:10 UTC
REVIEW: http://review.gluster.org/6607 (features/quota: Handle the corner case in statfs call) posted (#1) for review on master by Varun Shastry (vshastry)

Comment 2 Anand Avati 2014-01-17 09:21:22 UTC
COMMIT: http://review.gluster.org/6607 committed in master by Vijay Bellur (vbellur) 
------
commit 63638748d744377d899e9ee0b5e7831d7c1c2496
Author: Varun Shastry <vshastry>
Date:   Fri Dec 27 15:39:19 2013 +0530

    features/quota: Handle the corner case in statfs call
    
    Problem: Even though limit is not set quota used to send 'quota-deem-statfs'
    key in the dictionary resulting in incorrect calculations.
    
    Change-Id: I643cb35cca6648e40f1c745135280876958ddaa9
    BUG: 1046894
    Signed-off-by: Varun Shastry <vshastry>
    Reviewed-on: http://review.gluster.org/6607
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 3 Anand Avati 2014-01-28 13:00:34 UTC
REVIEW: http://review.gluster.org/6840 (features/quota: Handle the corner case in statfs call) posted (#1) for review on release-3.5 by Varun Shastry (vshastry)

Comment 4 Anand Avati 2014-01-29 06:42:08 UTC
COMMIT: http://review.gluster.org/6840 committed in release-3.5 by Vijay Bellur (vbellur) 
------
commit 53ac35ebd24cffa420a73c3b2ab43c994c9b7861
Author: Varun Shastry <vshastry>
Date:   Fri Dec 27 15:39:19 2013 +0530

    features/quota: Handle the corner case in statfs call
    
    Problem: Even though limit is not set quota used to send 'quota-deem-statfs'
    key in the dictionary resulting in incorrect calculations.
    
    Change-Id: I643cb35cca6648e40f1c745135280876958ddaa9
    BUG: 1046894
    Signed-off-by: Varun Shastry <vshastry>
    Reviewed-on: http://review.gluster.org/6607
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>
    Reviewed-on: http://review.gluster.org/6840
    Reviewed-by: Vijay Bellur <vbellur>

Comment 5 Niels de Vos 2014-04-17 11:52:25 UTC
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.0, please reopen this bug report.

glusterfs-3.5.0 has been announced on the Gluster Developers 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.devel/6137
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user