summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-04-07 06:40:46 +0000
committerVijay Bellur <vijay@gluster.com>2011-04-07 11:40:09 -0700
commitdb347c756609e5fb6792bfd69046c97fd6aacc0e (patch)
treeaa7a619e239f547a3c48fa23cd6a6d02514f5d9d /xlators/mgmt/glusterd/src/glusterd-volgen.c
parent476b672347641c3f0d6b346b13feaf530ecbbe93 (diff)
mgmt/glusterd: Fix gluster-profile performance issues
Add count-fop-hits option to io-stats use count-fop-hits instead of dump-fd-stats for profile Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@gluster.com> BUG: 2636 ("profile info" lists 'nan' in latency when heavy i/o is running) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2636
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 88ab2a27b3c..5844c7c7e8c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -107,6 +107,7 @@ static struct volopt_map_entry glusterd_volopt_map[] = {
{"diagnostics.latency-measurement", "debug/io-stats", NULL, NULL, NO_DOC },
{"diagnostics.dump-fd-stats", "debug/io-stats", NULL, NULL, NO_DOC },
+ {"diagnostics.count-fop-hits", "debug/io-stats", NULL, NULL, NO_DOC },
{"diagnostics.brick-log-level", "debug/io-stats", "!log-level", NULL, DOC},
{"diagnostics.client-log-level", "debug/io-stats", "!log-level", NULL, DOC},