diff options
| author | N Balachandran <nbalacha@redhat.com> | 2017-01-19 12:23:00 +0530 | 
|---|---|---|
| committer | Jeff Darcy <jdarcy@redhat.com> | 2017-01-19 12:37:08 -0800 | 
| commit | 4e11d50f3f803e685c844da1f168a633c3834fd0 (patch) | |
| tree | 273c6b9a0c4c02e4e57e5c2ccd761dab4154f513 | |
| parent | d93a6691538270aefe7703e8f8d7c822f53528e5 (diff) | |
gluster: Typos in logs and comments
Replaced 'recieve' with 'receive'.
Change-Id: I4c1c9147db5437feb81e4c83ed074440aaa28e07
BUG: 1414645
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Reviewed-on: http://review.gluster.org/16429
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Manikandan Selvaganesh <manikandancs333@gmail.com>
Tested-by: Manikandan Selvaganesh <manikandancs333@gmail.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
| -rw-r--r-- | events/src/glustereventsd.py | 4 | ||||
| -rw-r--r-- | events/src/handlers.py | 2 | ||||
| -rw-r--r-- | xlators/features/changelog/src/changelog-ev-handle.c | 2 | ||||
| -rw-r--r-- | xlators/performance/md-cache/src/md-cache.c | 8 | ||||
| -rw-r--r-- | xlators/protocol/client/src/client-callback.c | 2 | 
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);  | 
