Bug 802905

Summary: quota: quota effective even after removing limits from directory
Product: [Community] GlusterFS Reporter: Saurabh <saujain>
Component: quotaAssignee: Raghavendra G <rgowdapp>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: pre-releaseCC: gluster-bugs, mzywusko, vinaraya
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-27 11:26:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Saurabh 2012-03-13 17:38:25 UTC
Description of problem:
this is seen if the volume and directory limits are set.
removing the directory limit and then trying to create more data fails.
though it is pass once you do a remount.

seen over fuse.

Version-Release number of selected component (if applicable):
git head
commit 7157a2cf42c4cf7c2ec2805e0732b49ebabd975e
Author: M S Vishwanath Bhat <vishwanath>
Date:   Sat Mar 10 15:51:22 2012 +0530


How reproducible:
always

Steps to Reproduce:
1. set quota limit on volume
2. set quota limit on the directory
3. put some data inside the dir over fuse mount.
4. remove the directory related quota limit
5. now try add some data
  
Actual results:
addition is not allowed

Expected results:
addition of data should happen.


Additional info:

Comment 1 Junaid 2012-04-05 08:58:34 UTC
*** Bug 765323 has been marked as a duplicate of this bug. ***

Comment 2 Anand Avati 2012-04-24 07:06:46 UTC
CHANGE: http://review.gluster.com/3021 (libglusterfs/inode.c: add inode_resolve) merged in master by Anand Avati (avati)

Comment 3 Raghavendra G 2012-04-27 01:28:01 UTC
Also need http://review.gluster.com/#change,3022, to fix this bug.

Comment 4 Anand Avati 2012-04-27 07:26:47 UTC
CHANGE: http://review.gluster.com/3022 (features/quota: update inode ctx in reconfigure.) merged in master by Vijay Bellur (vijay)