]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/OSD: fix spell errors
authorsongweibin <song.weibin@zte.com.cn>
Mon, 21 Aug 2017 03:07:28 +0000 (11:07 +0800)
committersongweibin <song.weibin@zte.com.cn>
Mon, 21 Aug 2017 06:58:15 +0000 (14:58 +0800)
Signed-off-by: songweibin <song.weibin@zte.com.cn>
src/osd/OSD.cc
src/osd/OSD.h

index edb04dbf8d691880736957d22edcf7274d420b5d..82778c37ac802bb17cf7d2a3d94748c9df6137b8 100644 (file)
@@ -9843,8 +9843,8 @@ int OSD::init_op_flags(OpRequestRef& op)
     if ((iter->op.op == CEPH_OSD_OP_WATCH &&
         iter->op.watch.op == CEPH_OSD_WATCH_OP_PING)) {
       /* This a bit odd.  PING isn't actually a write.  It can't
-       * result in an update to the object_info.  PINGs also aren'ty
-       * resent, so there's no reason to write out a log entry
+       * result in an update to the object_info.  PINGs also aren't
+       * resent, so there's no reason to write out a log entry.
        *
        * However, we pipeline them behind writes, so let's force
        * the write_ordered flag.
@@ -10265,7 +10265,7 @@ void OSD::ShardedOpWQ::_process(uint32_t thread_index, heartbeat_handle_d *hb)
     OSDMapRef osdmap = sdata->waiting_for_pg_osdmap;
     if (osdmap->is_up_acting_osd_shard(item.first, osd->whoami)) {
       dout(20) << __func__ << " " << item.first
-              << " no pg, should exist, will wait" << " on " << *qi << dendl;
+              << " no pg, should exist, will wait on " << *qi << dendl;
       slot.to_process.push_front(*qi);
       slot.waiting_for_pg = true;
     } else if (qi->get_map_epoch() > osdmap->get_epoch()) {
index 88e84710ff531bf4f9eee2a59d4df2762c469a97..4682479fc71902a2809096f5b387c2cdd6c0a76e 100644 (file)
@@ -1615,7 +1615,7 @@ private:
    *
    * Multiple worker threads can operate on each shard.
    *
-   * Under normal circumstances, num_running == to_proces.size().  There are
+   * Under normal circumstances, num_running == to_process.size().  There are
    * two times when that is not true: (1) when waiting_for_pg == true and
    * to_process is accumulating requests that are waiting for the pg to be
    * instantiated; in that case they will all get requeued together by
@@ -1732,7 +1732,7 @@ private:
     /// wake any pg waiters after a PG is created/instantiated
     void wake_pg_waiters(spg_t pgid);
 
-    /// prune ops (and possiblye pg_slots) for pgs that shouldn't be here
+    /// prune ops (and possibly pg_slots) for pgs that shouldn't be here
     void prune_pg_waiters(OSDMapRef osdmap, int whoami);
 
     /// clear cached PGRef on pg deletion