]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: For performance start scrub scan at pool to skip temp objects 6976/head
authorDavid Zafman <dzafman@redhat.com>
Thu, 24 Sep 2015 15:38:41 +0000 (11:38 -0400)
committerDavid Zafman <dzafman@redhat.com>
Mon, 4 Jan 2016 23:56:37 +0000 (15:56 -0800)
Signed-off-by: David Zafman <dzafman@redhat.com>
src/osd/PG.cc

index ffbd6ff8f0502a22704904cb9f783f8829755dc0..ea66f7ea19cdaa28523dac96d2f5081c68b3d555 100644 (file)
@@ -3994,6 +3994,8 @@ void PG::chunky_scrub(ThreadPool::TPHandle &handle)
        }
 
         scrubber.start = hobject_t();
+        // Don't include temporary objects when scrubbing
+        scrubber.start.pool = info.pgid.pool();
         scrubber.state = PG::Scrubber::NEW_CHUNK;
 
        {