Bug 762038 (GLUSTER-306)

Summary: Enhance locks to aid debugging
Product: [Community] GlusterFS Reporter: Pavan Vilas Sondur <pavan>
Component: locksAssignee: Pavan Vilas Sondur <pavan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: aavati, gluster-bugs
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: RTNR 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 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.)