]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG::_scrub_finish: check stats for ec overwrites pools
authorSamuel Just <sjust@redhat.com>
Tue, 29 Nov 2016 21:59:10 +0000 (13:59 -0800)
committerSamuel Just <sjust@redhat.com>
Fri, 2 Dec 2016 21:40:18 +0000 (13:40 -0800)
This should work fine now that we are doing an update-in-place
with rollback information off to the side.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/ReplicatedPG.cc

index ee5c9fd0b5e783cd44c4769336eece8c5a986845..e6a6d801aad47ecf14d91ff2a5b4e89a140800b7 100644 (file)
@@ -13030,13 +13030,6 @@ void ReplicatedPG::_scrub_finish()
   bool deep_scrub = state_test(PG_STATE_DEEP_SCRUB);
   const char *mode = (repair ? "repair": (deep_scrub ? "deep-scrub" : "scrub"));
 
-  if (pool.info.is_hacky_ecoverwrites()) {
-    dout(10) << __func__
-            << ": skipping stat comparisons since hacky_overwrites are enabled"
-            << dendl;
-    return;
-  }
-
   if (info.stats.stats_invalid) {
     info.stats.stats = scrub_cstat;
     info.stats.stats_invalid = false;