Bug 762038 (GLUSTER-306) - Enhance locks to aid debugging
Summary: Enhance locks to aid debugging
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-306
Product: GlusterFS
Classification: Community
Component: locks
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Pavan Vilas Sondur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-08 07:31 UTC by Pavan Vilas Sondur
Modified: 2009-12-06 16:56 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Pavan Vilas Sondur 2009-10-08 07:31:27 UTC
Add setxattr and fsetxattr fops to locks to aid debugging which involve issues that might be caused due to bugs in posix locks or internal locks. setxattr calls can be used as a hook to dump all locks information on the file on which the calls are made.

This bug will also be used to submit changes to add support to process state dump.

Comment 1 Anand Avati 2009-10-16 19:05:51 UTC
PATCH: http://patches.gluster.com/patch/1940 in release-2.0 (locks: trace support)

Comment 2 Anand Avati 2009-10-18 14:16:44 UTC
PATCH: http://patches.gluster.com/patch/1944 in master (locks: fix leak in inodelk)

Comment 3 Anand Avati 2009-10-20 03:14:48 UTC
PATCH: http://patches.gluster.com/patch/1941 in release-2.0 (locks: trace support for entrylk)

Comment 4 Anand Avati 2009-10-20 03:14:53 UTC
PATCH: http://patches.gluster.com/patch/1942 in release-2.0 (locks: trace support for inodelk)

Comment 5 Anand Avati 2009-10-29 03:00:46 UTC
PATCH: http://patches.gluster.com/patch/2039 in master (Implement lookup in locks to return lock count in a dict value.)

Comment 6 Anand Avati 2009-10-29 04:52:48 UTC
PATCH: http://patches.gluster.com/patch/2042 in master (Trace locks in and out with an option in normal log mode.)

Comment 7 Anand Avati 2009-10-29 04:52:52 UTC
PATCH: http://patches.gluster.com/patch/2043 in master (Print entrylks in and out if option trace is on.)

Comment 8 Anand Avati 2009-10-29 04:52:57 UTC
PATCH: http://patches.gluster.com/patch/2044 in master (Print inodelks in and out if option trace is on.)

Comment 9 Anand Avati 2009-10-29 14:07:49 UTC
PATCH: http://patches.gluster.com/patch/2053 in master (Remove unnecessary check of xattr_req in lookup.)

Comment 10 Anand Avati 2009-10-29 16:02:57 UTC
PATCH: http://patches.gluster.com/patch/2069 in release-2.0 (Implement lookup in posix locks to return lock counts in a dict value.)

Comment 11 Anand Avati 2009-10-31 11:14:13 UTC
PATCH: http://patches.gluster.com/patch/2091 in release-2.0 (features/locks: Do not try to set values in dictionary when lookup has failed)

Comment 12 Anand Avati 2009-11-02 03:23:25 UTC
PATCH: http://patches.gluster.com/patch/2102 in master (features/locks: Do not try to set value in dict when lookup has failed.)

Comment 13 Anand Avati 2009-12-04 06:46:22 UTC
PATCH: http://patches.gluster.com/patch/2510 in master (features/locks: Process State Dump support for locks.)

Comment 14 Anand Avati 2009-12-06 13:56:20 UTC
PATCH: http://patches.gluster.com/patch/2584 in master (features/locks: Correct the order of arguments and print a log message in pl_flush.)


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