summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/locks.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2009-10-16 16:21:09 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-16 15:05:49 -0700
commit04de4b6063617d4ad31b31fb0d24fe2242deb7f0 (patch)
tree71e4747192f8c3c6e6ec499cc93aeeac3230cd67 /xlators/features/locks/src/locks.h
parentc8f39bea04c6021243d1ab2bcea450a0f067aabc (diff)
locks: trace support
'option trace on' will trace all locks and unlocks in the logfile under NORMAL log mode Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 306 (Enhance locks to aid debugging) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=306
Diffstat (limited to 'xlators/features/locks/src/locks.h')
-rw-r--r--xlators/features/locks/src/locks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/locks/src/locks.h b/xlators/features/locks/src/locks.h
index fe1333504ad..f649dd609b0 100644
--- a/xlators/features/locks/src/locks.h
+++ b/xlators/features/locks/src/locks.h
@@ -108,6 +108,7 @@ typedef struct __pl_fd pl_fd_t;
typedef struct {
gf_boolean_t mandatory; /* if mandatory locking is enabled */
+ gf_boolean_t trace; /* trace lock requests in and out */
} posix_locks_private_t;