]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ReplicatedPG: kill some dead scrub code
authorSage Weil <sage@redhat.com>
Mon, 3 Nov 2014 01:53:05 +0000 (17:53 -0800)
committerSage Weil <sage@redhat.com>
Sat, 20 Dec 2014 15:16:21 +0000 (07:16 -0800)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ReplicatedPG.cc

index deb28d91783d0cb8ebd882d5f8c94158947f61a6..5c98422a8addfadf5aa719f0fa6862debbf1b8af 100644 (file)
@@ -12293,11 +12293,6 @@ void ReplicatedPG::_scrub(ScrubMap& scrubmap)
        ++stat.num_objects_omap;
     }
 
-    //bufferlist data;
-    //osd->store->read(c, poid, 0, 0, data);
-    //assert(data.length() == p->size);
-    //
-
     if (!next_clone.is_min() && next_clone != soid &&
        pool.info.allow_incomplete_clones()) {
       // it is okay to be missing one or more clones in a cache tier.