Bug 764536 (GLUSTER-2804)

Summary: Occasional log messages seen indicating failure of inodelk
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: quotaAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs
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: Type: ---
Regression: RTNR Mount Type: ---
Documentation: DNR CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra G 2011-04-19 06:15:57 UTC
[2011-04-19 10:54:24.5360] E [marker-quota.c:1323:quota_markdirty] 0-ptop-marker: lock setting failed on /usr/X11R6
.bak (Success)
[2011-04-19 10:54:24.5480] I [marker-quota.c:904:quota_inodelk_cbk] 0-ptop-marker: lock setting failed

This is due to frame->root->lk_owner being 0. Quota uses a counter to set this field. However this counter can overflow and reset to 0 resulting in the above log messages.

regards,
Raghavendra.

Comment 1 Anand Avati 2011-04-21 07:36:01 UTC
PATCH: http://patches.gluster.com/patch/7011 in master (features/marker-quota: handle overflow of counter used to set frame->root->lk_owner.)