summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2018-12-26 11:40:26 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2019-01-09 15:17:18 +0000
commit0ec7da927915512c62c99b418a297c6132234c8b (patch)
tree459ab7d85468bd808f4e5325bec7d8bc374e5a84
parente1257564b85901a31a05afa0316ebc0c52d00cff (diff)
core: Fixed typos in nl-cache and logging-guidelines.md
Replaced "recieve" with "receive". Change-Id: I58a3d3d4a0093df4743de9fae4d8ff152d4b216c fixes: bz#1662200 Signed-off-by: N Balachandran <nbalacha@redhat.com> (cherry picked from commit a11c5c66321dd8411373a68cc163c981c7d083df)
-rw-r--r--doc/developer-guide/logging-guidelines.md2
-rw-r--r--xlators/performance/nl-cache/src/nl-cache.c4
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 02d6df55349..dc66341728e 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,