Bug 763859 (GLUSTER-2127)

Summary: Posix locks state dump does not show type of lock correctly
Product: [Community] GlusterFS Reporter: Pavan Vilas Sondur <pavan>
Component: locksAssignee: Kaushal <kaushal>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: amarts, gluster-bugs, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavan Vilas Sondur 2010-11-18 11:12:14 UTC
When locks are dump with a state dump call, the type of lock is displayed using user_flock from inside the posix_lock structure. This however can be stale and is especially seen to be stale during upgrade/downgrade operations. The fix is to update user_flock in __insert_and_merge calls.

Comment 1 Amar Tumballi 2011-06-22 04:15:21 UTC
Is this bug still valid? Its been more than 7months since this is logged.

Comment 2 Amar Tumballi 2011-08-29 04:17:57 UTC
Kaushal, Please check if it is valid once you are done with your other bugs, and then close it if its not valid anymore.

Comment 3 Kaushal 2011-09-12 05:47:49 UTC
Works now. The locks are dumped properly.