Bug 848237

Summary: Setting lots of quota will make client get blocked.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vidya Sakar <vinaraya>
Component: glusterfsAssignee: vpshastry <vshastry>
Status: CLOSED WORKSFORME QA Contact: Sudhir D <sdharane>
Severity: high Docs Contact:
Priority: medium    
Version: unspecifiedCC: amarts, gluster-bugs, linbaiye, nsathyan, rfortier, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 843748 Environment:
Last Closed: 2012-12-21 09:37:00 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: 843748    
Bug Blocks:    

Description Vidya Sakar 2012-08-15 01:18:40 UTC
+++ This bug was initially created as a clone of Bug #843748 +++

Description of problem:

While client is writting,Setting quota on lots of dirctories will make client get blocked. 
Version-Release number of selected component (if applicable):
3.3.0 & 3.2.6

How reproducible:


Steps to Reproduce:
1.Create a replica volume on server1 and server2.(Number of Bricks: 1 x 2 = 2)
2.Mount volume on client1 and untar kernel to mountpoint.
3.While client is compiling the kernel, set quota on those dirctories which were untared from kernel with value of 100MB each directory.
 
Actual results:
Client will get blocked in a while,not be able to use some commands(eg df, ls "mountpoint").

Expected results:
Compilation will be completed.

Additional info:
Log of brick is full of:
[2012-07-27 14:27:43.610378] W [marker-quota.c:1977:mq_initiate_quota_txn] 0-vol4test-marker: inode ctx get failed, aborting quota txn
[2012-07-27 14:27:43.613482] W [marker-quota.c:1977:mq_initiate_quota_txn] 0-vol4test-marker: inode ctx get failed, aborting quota txn
[2012-07-27 14:27:43.616928] W [marker-quota.c:1977:mq_initiate_quota_txn] 0-vol4test-marker: inode ctx get failed, aborting quota txn
[2012-07-27 14:27:43.619951] W [marker-quota.c:1977:mq_initiate_quota_txn] 0-vol4test-marker: inode ctx get failed, aborting quota txn

Comment 2 vpshastry 2012-12-21 09:37:00 UTC
While compiling kernel, set quota on around 2000 dirs. Still client was safe from crash.