]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd: fix old wake_pg_waiters references
authorSage Weil <sage@redhat.com>
Mon, 2 Apr 2018 13:56:38 +0000 (08:56 -0500)
committerSage Weil <sage@redhat.com>
Wed, 4 Apr 2018 13:26:59 +0000 (08:26 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc

index ea3f64df1290df6f77e749a24a1c7f2ef4e0c379..f0d7ee390fa3bcd14c469f3c9ec6c86b0f38cd9d 100644 (file)
@@ -3849,7 +3849,7 @@ void OSD::load_pgs()
       continue;
     }
 
-    // there can be no waiters here, so we don't call wake_pg_waiters
+    // there can be no waiters here, so we don't call _wake_pg_slot
 
     pg->lock();
     pg->ch = store->open_collection(pg->coll);
@@ -9690,7 +9690,7 @@ void OSD::ShardedOpWQ::_process(uint32_t thread_index, heartbeat_handle_d *hb)
     }
 
     if (slot->to_process.empty()) {
-      // raced with wake_pg_waiters or consume_map
+      // raced with _wake_pg_slot or consume_map
       dout(20) << __func__ << " " << token
               << " nothing queued" << dendl;
       if (pg) {
@@ -9702,7 +9702,7 @@ void OSD::ShardedOpWQ::_process(uint32_t thread_index, heartbeat_handle_d *hb)
     if (requeue_seq != slot->requeue_seq) {
       dout(20) << __func__ << " " << token
               << " requeue_seq " << slot->requeue_seq << " > our "
-              << requeue_seq << ", we raced with wake_pg_waiters"
+              << requeue_seq << ", we raced with _wake_pg_slot"
               << dendl;
       if (pg) {
        pg->unlock();