summaryrefslogtreecommitdiffstats
path: root/xlators/debug/io-stats/src/io-stats.c
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-03-22 03:01:03 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-22 04:02:18 -0700
commitc077bd932beff169a366c99c94ff45e432d1d793 (patch)
tree7947458cef0b1d712e36654ed725471a4a3ce507 /xlators/debug/io-stats/src/io-stats.c
parentb230793b8b345ff25168567209cae10294b53f23 (diff)
remove the names from the log files
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2573 (trailing '/' with brick name says "volume top unsuccessful" while running 'top' command) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2573
Diffstat (limited to 'xlators/debug/io-stats/src/io-stats.c')
-rw-r--r--xlators/debug/io-stats/src/io-stats.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index b990146ae..41a099396 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -456,7 +456,6 @@ ios_stat_add_to_list (struct ios_stat_head *list_head, uint64_t value,
if (reposition == MAX_LIST_MEMBERS)
list_head->min_cnt = value;
else if (min_count) {
- gf_log ("shishir", 1, "I am here");
list_head->min_cnt = min_count;
}
} else if (list_head->members < MAX_LIST_MEMBERS) {
@@ -1038,13 +1037,11 @@ io_stats_dump_stats_to_dict (xlator_t *this, dict_t *resp,
goto out;
if (index != IOS_STATS_THRU_MAX) {
snprintf (key, 256, "%s-%d", "time-sec", cnt);
- gf_log ("shishir", 1, "%s %ld",key,entry->iosstat->thru_counters[index].time.tv_sec);
ret = dict_set_int32 (resp, key,
entry->iosstat->thru_counters[index].time.tv_sec);
if (ret)
goto out;
snprintf (key, 256, "%s-%d", "time-usec", cnt);
- gf_log ("shishir", 1, "%s %ld",key,entry->iosstat->thru_counters[index].time.tv_usec);
ret = dict_set_int32 (resp, key,
entry->iosstat->thru_counters[index].time.tv_usec);
if (ret)