From: David Zafman Date: Thu, 24 Sep 2015 15:38:41 +0000 (-0400) Subject: osd/PG: For performance start scrub scan at pool to skip temp objects X-Git-Tag: v10.0.3~11^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=05d79faa512210b0f0a91640d18db33b887a6e73;p=ceph.git osd/PG: For performance start scrub scan at pool to skip temp objects Signed-off-by: David Zafman --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index ffbd6ff8f050..ea66f7ea19cd 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -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; {