path: root/libglusterfs
diff options
authorshishir gowda <>2013-06-05 15:56:27 +0530
committerVijay Bellur <>2013-07-18 01:38:16 -0700
commit15e11cfa1dec9cafd5a9039da7a43e9c02b19d98 (patch)
tree414cda629fa42da63c6656bd5dbc71439ea8481a /libglusterfs
parentad5ab1216066495589d73015f47183cc26f10eb6 (diff)
locks: Added an xdata-based 'cmd' for inodelk count in a given domain
Following is the semantics of the 'cmd': 1) If @domain is NULL - returns no. of locks blocked/granted in all domains 2) If @domain is non-NULL- returns no. of locks blocked/granted in that domain 3) If @domain is non-existent - returns '0'; This is important since locks xlator creates a domain in a lazy manner. where @domain - a string representing the domain. Change-Id: I5e609772343acc157ca650300618c1161efbe72d BUG: 951195 Original-author: Krishnan Parthasarathi <> Signed-off-by: Krishnan Parthasarathi <> Signed-off-by: shishir gowda <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Amar Tumballi <>
Diffstat (limited to 'libglusterfs')
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 65c3c6c1..797085c1 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -110,6 +110,7 @@
#define GLUSTERFS_ENTRYLK_COUNT "glusterfs.entrylk-count"
#define GLUSTERFS_POSIXLK_COUNT "glusterfs.posixlk-count"
#define GLUSTERFS_PARENT_ENTRYLK "glusterfs.parent-entrylk"
+#define GLUSTERFS_INODELK_DOM_COUNT "glusterfs.inodelk-dom-count"
#define QUOTA_SIZE_KEY "trusted.glusterfs.quota.size"
#define GFID_TO_PATH_KEY "glusterfs.gfid2path"
#define GF_XATTR_STIME_PATTERN "trusted.glusterfs.*.stime"