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>
This commit is contained in:
N Balachandran 2018-12-26 11:40:26 +05:30
parent a3d12d340a
commit a11c5c6632
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,