]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: Fix typos in PG::find_best_info 11515/head
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 17 Oct 2016 03:11:53 +0000 (13:11 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Mon, 17 Oct 2016 03:30:58 +0000 (13:30 +1000)
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/osd/PG.cc

index 4ca9a48a2fa1b344424b2f2e80eccb57d255da44..5fedac0c556b35ffc21a47a266c8d596ee83a54b 100644 (file)
@@ -1027,10 +1027,10 @@ map<pg_shard_t, pg_info_t>::const_iterator PG::find_best_info(
     // Only consider peers with last_update >= min_last_update_acceptable
     if (p->second.last_update < min_last_update_acceptable)
       continue;
-    // disqualify anyone with a too old last_epoch_started
+    // Disqualify anyone with a too old last_epoch_started
     if (p->second.last_epoch_started < max_last_epoch_started_found)
       continue;
-    // Disquality anyone who is incomplete (not fully backfilled)
+    // Disqualify anyone who is incomplete (not fully backfilled)
     if (p->second.is_incomplete())
       continue;
     if (best == infos.end()) {