]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix spell errors
authorsongweibin <song.weibin@zte.com.cn>
Tue, 29 Aug 2017 09:00:25 +0000 (17:00 +0800)
committersongweibin <song.weibin@zte.com.cn>
Thu, 31 Aug 2017 04:35:02 +0000 (12:35 +0800)
Signed-off-by: songweibin <song.weibin@zte.com.cn>
src/osd/ECBackend.h
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h
src/osd/Watch.h
src/osd/mClockClientQueue.h
src/osd/mClockOpClassQueue.h
src/osd/osd_types.cc
src/osd/osd_types.h
src/osdc/Objecter.cc
src/osdc/Objecter.h

index 85c2ee6b4f8ef1482f2c995721819eb910e10caa..6d6d1f1e4cf7f75d96d7a3fbe3a14773b0731c75 100644 (file)
@@ -140,7 +140,7 @@ public:
    * maintain a queue of in progress reads (@see in_progress_client_reads)
    * to ensure that we always call the completion callback in order.
    *
-   * Another subtely is that while we may read a degraded object, we will
+   * Another subtly is that while we may read a degraded object, we will
    * still only perform a client read from shards in the acting set.  This
    * ensures that we won't ever have to restart a client initiated read in
    * check_recovery_sources.
index 081204a033fd91f4885f18d57b5ead56129a7d20..c1430743b3a9f28a0ce22b2e0e64bc5be71ec708 100644 (file)
@@ -2121,7 +2121,7 @@ bool ReplicatedBackend::handle_push_reply(
        pi->recovery_progress, &new_progress, reply,
        &(pi->stat));
       // Handle the case of a read error right after we wrote, which is
-      // hopefuilly extremely rare.
+      // hopefully extremely rare.
       if (r < 0) {
         dout(5) << __func__ << ": oid " << soid << " error " << r << dendl;
 
index 52048eb8f018b3e2deefc35c1480e2ffb6476259..f72d62d4c5ded370680460fc834d405084a2810b 100644 (file)
@@ -216,7 +216,7 @@ private:
 
   map<hobject_t, PullInfo> pulling;
 
-  // Reverse mapping from osd peer to objects beging pulled from that peer
+  // Reverse mapping from osd peer to objects being pulled from that peer
   map<pg_shard_t, set<hobject_t> > pull_from_peer;
   void clear_pull(
     map<hobject_t, PullInfo>::iterator piter,
index 31d628d769aa58a960f5638c206e7a9c52005bea..f41475c42cbd51432358bd6a1fa8f0d31429fcc2 100644 (file)
@@ -167,7 +167,7 @@ class Watch {
   entity_addr_t addr;
 
   bool will_ping;    ///< is client new enough to ping the watch
-  utime_t last_ping; ///< last cilent ping
+  utime_t last_ping; ///< last client ping
 
   entity_name_t entity;
   bool discarded;
index 49b58c8327d39284f614c8c3bae182623ba3f612..4a4a7b5f74450ef1eb1b07bace0285782b73434b 100644 (file)
@@ -34,7 +34,7 @@ namespace ceph {
 
   // This class exists to bridge the ceph code, which treats the class
   // as the client, and the queue, where the class is
-  // osd_op_type_t. So this adpater class will transform calls
+  // osd_op_type_t. So this adapter class will transform calls
   // appropriately.
   class mClockClientQueue : public OpQueue<Request, Client> {
 
index 1b386fe2da2026e35fbf8e00297eb32e5a4de946..d12c49a0d4ad27c3df144e65a19dedd1e7c6f50e 100644 (file)
@@ -34,7 +34,7 @@ namespace ceph {
 
   // This class exists to bridge the ceph code, which treats the class
   // as the client, and the queue, where the class is
-  // osd_op_type_t. So this adpater class will transform calls
+  // osd_op_type_t. So this adapter class will transform calls
   // appropriately.
   class mClockOpClassQueue : public OpQueue<Request, Client> {
 
index 393cd7097d23fdb9483949fd2571e506fc31f629..00e4169878b3cc9144a0fef6ae830c55c766d08e 100644 (file)
@@ -3112,7 +3112,7 @@ public:
  * PastIntervals only needs to be able to answer two questions:
  * 1) Where should the primary look for unfound objects?
  * 2) List a set of subsets of the OSDs such that contacting at least
- *    one from each subset guarrantees we speak to at least one witness
+ *    one from each subset guarantees we speak to at least one witness
  *    of any completed write.
  *
  * Crucially, 2) does not require keeping *all* past intervals.  Certainly,
index 43d9a98e73753ea8bb14c45ba32f01ea19a24d0b..945220641100c1333213f3ad2c80aacb840ec7ec 100644 (file)
@@ -2067,7 +2067,7 @@ WRITE_CLASS_ENCODER_FEATURES(pool_stat_t)
 /**
  * pg_hit_set_info_t - information about a single recorded HitSet
  *
- * Track basic metadata about a HitSet, like the nubmer of insertions
+ * Track basic metadata about a HitSet, like the number of insertions
  * and the time range it covers.
  */
 struct pg_hit_set_info_t {
index 46bee0125e6a2c01f33d7bd106499a21679e5f2c..55e13030942ce4b12c1d0031f0c0af9449459551 100644 (file)
@@ -638,7 +638,7 @@ struct C_DoWatchError : public Context {
 int Objecter::_normalize_watch_error(int r)
 {
   // translate ENOENT -> ENOTCONN so that a delete->disconnection
-  // notification and a failure to reconnect becuase we raced with
+  // notification and a failure to reconnect because we raced with
   // the delete appear the same to the user.
   if (r == -ENOENT)
     r = -ENOTCONN;
@@ -2190,7 +2190,7 @@ void Objecter::tick()
     }
   }
 
-  // Make sure we don't resechedule if we wake up after shutdown
+  // Make sure we don't reschedule if we wake up after shutdown
   if (initialized) {
     tick_event = timer.reschedule_me(ceph::make_timespan(
                                       cct->_conf->objecter_tick_interval));
index d21bb4e6734085fd1cc35b2ea1f526d7901b6b11..a32e428e28d6628c17d5c82520fcfe1e7c3bc018 100644 (file)
@@ -492,7 +492,7 @@ struct ObjectOperation {
              ::decode(*ptruncated, p);
            } else {
              // the OSD did not provide this.  since old OSDs do not
-             // enfoce omap result limits either, we can infer it from
+             // enforce omap result limits either, we can infer it from
              // the size of the result
              *ptruncated = (pattrs->size() == max_entries);
            }