diff options
author | Pavan Sondur <pavan@gluster.com> | 2009-10-29 09:31:42 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-29 12:02:54 -0700 |
commit | d45e6b9a17a2a40a06d6cffbac97e6568223f143 (patch) | |
tree | 01e2b1ebf93ed41d12fee0897bdb4a0f01c26ff6 /libglusterfs | |
parent | b9e3c902bf6eed825ebd6323a5905d64a3153269 (diff) |
Implement lookup in posix locks to return lock counts in a dict value.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com>
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 'libglusterfs')
-rw-r--r-- | libglusterfs/src/glusterfs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 2c0e332dee7..d4d5abc710e 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -67,6 +67,10 @@ #define ZR_FILE_CONTENT_STRLEN 15 #define GLUSTERFS_OPEN_FD_COUNT "glusterfs.open-fd-count" +#define GLUSTERFS_INODELK_COUNT "glusterfs.inodelk-count" +#define GLUSTERFS_ENTRYLK_COUNT "glusterfs.entrylk-count" +#define GLUSTERFS_POSIXLK_COUNT "glusterfs.posixlk-count" + #define ZR_FILE_CONTENT_REQUEST(key) (!strncmp(key, ZR_FILE_CONTENT_STR, \ ZR_FILE_CONTENT_STRLEN)) |