summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--events/src/glustereventsd.py4
-rw-r--r--events/src/handlers.py2
-rw-r--r--xlators/features/changelog/src/changelog-ev-handle.c2
-rw-r--r--xlators/performance/md-cache/src/md-cache.c8
-rw-r--r--xlators/protocol/client/src/client-callback.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/events/src/glustereventsd.py b/events/src/glustereventsd.py
index 4b56eee9131..606b89cbd7f 100644
--- a/events/src/glustereventsd.py
+++ b/events/src/glustereventsd.py
@@ -57,9 +57,9 @@ class GlusterEventsRequestHandler(SocketServer.BaseRequestHandler):
continue
try:
- # Event Type to Function Map, Recieved event data will be in
+ # Event Type to Function Map, Received 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/events/src/handlers.py b/events/src/handlers.py
index 21d3e83de54..7746d488bf3 100644
--- a/events/src/handlers.py
+++ b/events/src/handlers.py
@@ -23,7 +23,7 @@ def generic_handler(ts, key, data):
def handle_event_volume_set(ts, key, data):
"""
- Recieved data will have all the options as one string, split into
+ Received data will have all the options as one string, split into
list of options. "key1,value1,key2,value2" into
[[key1, value1], [key2, value2]]
"""
diff --git a/xlators/features/changelog/src/changelog-ev-handle.c b/xlators/features/changelog/src/changelog-ev-handle.c
index 7fa6a89ea98..cada369ba0f 100644
--- a/xlators/features/changelog/src/changelog-ev-handle.c
+++ b/xlators/features/changelog/src/changelog-ev-handle.c
@@ -53,7 +53,7 @@ changelog_dispatch_vec (call_frame_t *frame, xlator_t *this,
/**
* Event dispatch RPC header contains a sequence number for each
- * dispatch. This allows the reciever to order the request before
+ * dispatch. This allows the receiver to order the request before
* processing.
*/
req.seq = vec->seq;
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index d70fa6a8d1a..36cedc64d70 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;
@@ -2545,9 +2545,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);