Bug 802905 - quota: quota effective even after removing limits from directory
Summary: quota: quota effective even after removing limits from directory
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: pre-release
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
: 765323 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-13 17:38 UTC by Saurabh
Modified: 2016-01-19 06:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-27 11:26:56 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.