diff options
author | Poornima G <pgurusid@redhat.com> | 2017-06-08 11:06:32 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2017-06-12 03:53:13 +0000 |
commit | 33b426aa9f62f6c8abb2b537b7a784c5b8090fb3 (patch) | |
tree | 599fd5a1508089aa0ccd677785d356f892d93b3e /xlators/performance | |
parent | 38780ff2d0717cd800a49072879a664b04385fd1 (diff) |
md-cache: Fix the dump of stat inode in .meta and statedump
Change-Id: If61ed5e4462e98d18a1370734a0bcee1ed94d82d
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-on: https://review.gluster.org/17491
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/performance')
-rw-r--r-- | xlators/performance/md-cache/src/md-cache.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c index 62f64968aa7..d21a6a7953c 100644 --- a/xlators/performance/md-cache/src/md-cache.c +++ b/xlators/performance/md-cache/src/md-cache.c @@ -2587,21 +2587,21 @@ mdc_priv_dump (xlator_t *this) gf_proc_dump_add_section(key_prefix); gf_proc_dump_write("stat_hit_count", "%"PRId64, - conf->mdc_counter.stat_hit); + conf->mdc_counter.stat_hit.cnt); gf_proc_dump_write("stat_miss_count", "%"PRId64, - conf->mdc_counter.stat_miss); + conf->mdc_counter.stat_miss.cnt); gf_proc_dump_write("xattr_hit_count", "%"PRId64, - conf->mdc_counter.xattr_hit); + conf->mdc_counter.xattr_hit.cnt); gf_proc_dump_write("xattr_miss_count", "%"PRId64, - conf->mdc_counter.xattr_miss); + conf->mdc_counter.xattr_miss.cnt); gf_proc_dump_write("nameless_lookup_count", "%"PRId64, - conf->mdc_counter.nameless_lookup); + conf->mdc_counter.nameless_lookup.cnt); gf_proc_dump_write("negative_lookup_count", "%"PRId64, - conf->mdc_counter.negative_lookup); + conf->mdc_counter.negative_lookup.cnt); gf_proc_dump_write("stat_invalidations_received", "%"PRId64, - conf->mdc_counter.stat_invals); + conf->mdc_counter.stat_invals.cnt); gf_proc_dump_write("xattr_invalidations_received", "%"PRId64, - conf->mdc_counter.xattr_invals); + conf->mdc_counter.xattr_invals.cnt); return 0; } |