]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
OSD: fix typo
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 22 Feb 2016 06:07:41 +0000 (14:07 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 22 Feb 2016 06:35:51 +0000 (14:35 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/OSD.cc

index 8d284285523889544b73f2b4a87107b0afb1c17d..a1c362a1072a2d73844e427630a7561019880348 100644 (file)
@@ -1790,7 +1790,7 @@ bool OSD::asok_command(string command, cmdmap_t& cmdmap, string format,
       f->close_section(); //watch
     }
 
-    f->close_section(); //watches
+    f->close_section(); //watchers
   } else if (command == "dump_reservations") {
     f->open_object_section("reservations");
     f->open_object_section("local_reservations");
@@ -2496,7 +2496,7 @@ int OSD::shutdown()
   clear_pg_stat_queue();
 
   // finish ops
-  op_shardedwq.drain(); // should already be empty except for lagard PGs
+  op_shardedwq.drain(); // should already be empty except for laggard PGs
   {
     Mutex::Locker l(finished_lock);
     finished.clear(); // zap waiters (bleh, this is messy)