From b3b4fc4afb7d206d0a481f3234bf83c768f02aa2 Mon Sep 17 00:00:00 2001 From: Pavan Sondur Date: Wed, 28 Oct 2009 12:27:54 +0000 Subject: Implement lookup in locks to return lock count in a dict value. 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 cf6d595..0f3ab29 100644 --- a/xlators/features/locks/src/locks.h +++ b/xlators/features/locks/src/locks.h @@ -140,5 +140,10 @@ typedef struct { gf_boolean_t mandatory; /* if mandatory locking is enabled */ } 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 v1.1