diff options
author | N Balachandran <nbalacha@redhat.com> | 2018-12-26 11:40:26 +0530 |
---|---|---|
committer | N Balachandran <nbalacha@redhat.com> | 2018-12-26 12:41:40 +0000 |
commit | a11c5c66321dd8411373a68cc163c981c7d083df (patch) | |
tree | 3bc767945bce65e5750bf85aaf590da09ef5bd53 | |
parent | a3d12d340abc0fb8cfa4d2faffbd59a1e5ba5718 (diff) |
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 <nbalacha@redhat.com>
-rw-r--r-- | doc/developer-guide/logging-guidelines.md | 2 | ||||
-rw-r--r-- | xlators/performance/nl-cache/src/nl-cache.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/developer-guide/logging-guidelines.md b/doc/developer-guide/logging-guidelines.md index 58adf944b67..0e6b2588535 100644 --- a/doc/developer-guide/logging-guidelines.md +++ b/doc/developer-guide/logging-guidelines.md @@ -62,7 +62,7 @@ There are 2 interfaces provided to log messages, headers (like the time stamp, dom, errnum etc.). The primary users of the above interfaces are, when printing the final graph, or printing the configuration when a process is about dump core or abort, or - printing the backtrace when a process recieves a critical signal + printing the backtrace when a process receives a critical signal - These interfaces should not be used outside the scope of the users above, unless you know what you are doing 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, |