From d45e6b9a17a2a40a06d6cffbac97e6568223f143 Mon Sep 17 00:00:00 2001 From: Pavan Sondur Date: Thu, 29 Oct 2009 09:31:42 +0000 Subject: Implement lookup in posix locks to return lock counts in a dict value. Signed-off-by: Pavan Vilas Sondur Signed-off-by: Anand V. Avati BUG: 306 (Enhance locks to aid debugging) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=306 --- xlators/features/locks/src/locks.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xlators/features/locks/src/locks.h') diff --git a/xlators/features/locks/src/locks.h b/xlators/features/locks/src/locks.h index f649dd609..98fa1b3aa 100644 --- a/xlators/features/locks/src/locks.h +++ b/xlators/features/locks/src/locks.h @@ -111,5 +111,10 @@ typedef struct { gf_boolean_t trace; /* trace lock requests in and out */ } posix_locks_private_t; +typedef struct { + gf_boolean_t entrylk_count_req; + gf_boolean_t inodelk_count_req; + gf_boolean_t posixlk_count_req; +} pl_local_t; #endif /* __POSIX_LOCKS_H__ */ -- cgit