summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/src/cli.c2
-rw-r--r--events/src/glustereventsd.py2
-rw-r--r--xlators/cluster/ec/src/ec-code.c2
-rw-r--r--xlators/performance/md-cache/src/md-cache.c10
-rw-r--r--xlators/protocol/client/src/client-callback.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 1710724abd6..c9c578f253c 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -380,7 +380,7 @@ cli_opt_parse (char *opt, struct cli_state *state)
oarg = strtail (opt, "timeout=");
if (oarg) {
if (!is_valid_int (oarg) || atoi(oarg) <= 0) {
- cli_err ("timeout value should be a postive integer");
+ cli_err ("timeout value should be a positive integer");
return -2; /* -2 instead of -1 to avoid unknown option
error */
}
diff --git a/events/src/glustereventsd.py b/events/src/glustereventsd.py
index 4b56eee9131..918c56b6a92 100644
--- a/events/src/glustereventsd.py
+++ b/events/src/glustereventsd.py
@@ -59,7 +59,7 @@ class GlusterEventsRequestHandler(SocketServer.BaseRequestHandler):
try:
# Event Type to Function Map, Recieved event data will be in
# the form <TIMESTAMP> <TYPE> <DETAIL>, Get Event name for the
- # recieved Type/Key and construct a function name starting with
+ # received Type/Key and construct a function name starting with
# handle_ For example: handle_event_volume_create
func_name = "handle_" + all_events[int(key)].lower()
except IndexError:
diff --git a/xlators/cluster/ec/src/ec-code.c b/xlators/cluster/ec/src/ec-code.c
index 7b5d53d0a37..44957dd788f 100644
--- a/xlators/cluster/ec/src/ec-code.c
+++ b/xlators/cluster/ec/src/ec-code.c
@@ -1032,7 +1032,7 @@ ec_code_detect(xlator_t *xl, const char *def)
if (file.error) {
gf_msg(xl->name, GF_LOG_WARNING, 0, EC_MSG_EXTENSION_FAILED,
- "Unable to detemine supported CPU extensions. Not using any "
+ "Unable to determine supported CPU extensions. Not using any "
"cpu extensions");
gen = NULL;
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index cbbe8c20ee2..b6969cda56e 100644
--- a/xlators/performance/md-cache/src/md-cache.c
+++ b/xlators/performance/md-cache/src/md-cache.c
@@ -38,8 +38,8 @@ struct mdc_statistics {
uint64_t negative_lookup; /* No. of negative lookups */
uint64_t nameless_lookup; /* No. of negative lookups that were sent
sent to bricks */
- uint64_t stat_invals; /* No. of invalidates recieved from upcall*/
- uint64_t xattr_invals; /* No. of invalidates recieved from upcall*/
+ uint64_t stat_invals; /* No. of invalidates received from upcall*/
+ uint64_t xattr_invals; /* No. of invalidates received from upcall*/
uint64_t need_lookup; /* No. of lookups issued, because other xlators
* requested for explicit lookup */
gf_lock_t lock;
@@ -682,7 +682,7 @@ mdc_inode_xatt_set (xlator_t *this, inode_t *inode, dict_t *dict)
LOCK (&mdc->lock);
{
if (mdc->xattr) {
- gf_msg_trace ("md-cache", 0, "deleteing the old xattr "
+ gf_msg_trace ("md-cache", 0, "deleting the old xattr "
"cache (%s)", uuid_utoa (inode->gfid));
dict_unref (mdc->xattr);
mdc->xattr = NULL;
@@ -2597,9 +2597,9 @@ mdc_priv_dump (xlator_t *this)
conf->mdc_counter.nameless_lookup);
gf_proc_dump_write("negative_lookup_count", "%"PRId64,
conf->mdc_counter.negative_lookup);
- gf_proc_dump_write("stat_invalidations_recieved", "%"PRId64,
+ gf_proc_dump_write("stat_invalidations_received", "%"PRId64,
conf->mdc_counter.stat_invals);
- gf_proc_dump_write("xattr_invalidations_recieved", "%"PRId64,
+ gf_proc_dump_write("xattr_invalidations_received", "%"PRId64,
conf->mdc_counter.xattr_invals);
return 0;
diff --git a/xlators/protocol/client/src/client-callback.c b/xlators/protocol/client/src/client-callback.c
index 23bd67ef12b..51164e57230 100644
--- a/xlators/protocol/client/src/client-callback.c
+++ b/xlators/protocol/client/src/client-callback.c
@@ -115,7 +115,7 @@ client_cbk_cache_invalidation (struct rpc_clnt *rpc, void *mydata, void *data)
if (ret < 0)
goto out;
- gf_msg_trace (THIS->name, 0, "Cache invalidation cbk recieved for gfid:"
+ gf_msg_trace (THIS->name, 0, "Cache invalidation cbk received for gfid:"
" %s, ret = %d", ca_req.gfid, ret);
default_notify (THIS, GF_EVENT_UPCALL, &upcall_data);