From a11c5c66321dd8411373a68cc163c981c7d083df Mon Sep 17 00:00:00 2001 From: N Balachandran Date: Wed, 26 Dec 2018 11:40:26 +0530 Subject: core: Fixed typos in nl-cache and logging-guidelines.md Replaced "recieve" with "receive". Change-Id: I58a3d3d4a0093df4743de9fae4d8ff152d4b216c fixes: bz#1662089 Signed-off-by: N Balachandran --- xlators/performance/nl-cache/src/nl-cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/performance') diff --git a/xlators/performance/nl-cache/src/nl-cache.c b/xlators/performance/nl-cache/src/nl-cache.c index 6bbe63f7d96..cd0e1d195fd 100644 --- a/xlators/performance/nl-cache/src/nl-cache.c +++ b/xlators/performance/nl-cache/src/nl-cache.c @@ -604,7 +604,7 @@ nlc_priv_dump(xlator_t *this) GF_ATOMIC_GET(conf->nlc_counter.pe_inode_cnt)); gf_proc_dump_write("inodes_with_negative_dentry_cache", "%" PRId64, GF_ATOMIC_GET(conf->nlc_counter.ne_inode_cnt)); - gf_proc_dump_write("dentry_invalidations_recieved", "%" PRId64, + gf_proc_dump_write("dentry_invalidations_received", "%" PRId64, GF_ATOMIC_GET(conf->nlc_counter.nlc_invals)); gf_proc_dump_write("cache_limit", "%" PRIu64, conf->cache_size); gf_proc_dump_write("consumed_cache_size", "%" PRId64, @@ -637,7 +637,7 @@ nlc_dump_metrics(xlator_t *this, int fd) this->name, GF_ATOMIC_GET(conf->nlc_counter.pe_inode_cnt)); dprintf(fd, "%s.inodes_with_negative_dentry_cache %" PRId64 "\n", this->name, GF_ATOMIC_GET(conf->nlc_counter.ne_inode_cnt)); - dprintf(fd, "%s.dentry_invalidations_recieved %" PRId64 "\n", this->name, + dprintf(fd, "%s.dentry_invalidations_received %" PRId64 "\n", this->name, GF_ATOMIC_GET(conf->nlc_counter.nlc_invals)); dprintf(fd, "%s.cache_limit %" PRIu64 "\n", this->name, conf->cache_size); dprintf(fd, "%s.consumed_cache_size %" PRId64 "\n", this->name, -- cgit