Bug 763859 (GLUSTER-2127) - Posix locks state dump does not show type of lock correctly
Summary: Posix locks state dump does not show type of lock correctly
Keywords:
Status: CLOSED NOTABUG
Alias: GLUSTER-2127
Product: GlusterFS
Classification: Community
Component: locks
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Kaushal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-18 11:12 UTC by Pavan Vilas Sondur
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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.


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