summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-09-24 10:16:23 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-24 11:26:06 -0700
commitbd73298410ac6814ed2f45acf2beafee21dc0af1 (patch)
tree14b14473a92fbb23c0eca8d115152d3c7dc1d359 /xlators/mgmt/glusterd/src/glusterd-volgen.h
parentdca5c02cf31e373e6e4ff376a5f35684cd43e081 (diff)
glusterd: add new stats related options for 'volume set'
* 'gluster volume set <VOLNAME> latency-measurement <yes|no>' * 'gluster volume set <VOLNAME> dump-fd-stats <yes|no>' Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1701 (better statistics gathering in glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1701
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.h b/xlators/mgmt/glusterd/src/glusterd-volgen.h
index a93bac6751a..2f0ab8bdbd0 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.h
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.h
@@ -125,6 +125,8 @@
#define VOLGEN_QR_OPTION_CACHESIZE "volgen_qr_option_cachesize"
#define VOLGEN_QR_OPTION_MAXFILESIZE "volgen_qr_option_maxfilesize"
+#define VOLGEN_IOS_OPTION_DUMP_FD_STATS "dump-fd-stats"
+#define VOLGEN_IOS_OPTION_MEASURE_LATENCY "latency-measurement"
int
glusterd_create_volfiles (glusterd_volinfo_t *volinfo);