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: v9.2.1~20^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F7421%2Fhead;p=ceph.git osd/PG: For performance start scrub scan at pool to skip temp objects Signed-off-by: David Zafman (cherry picked from commit 05d79faa512210b0f0a91640d18db33b887a6e73) --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index c13321c7b37a..961d36ab1896 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -3923,6 +3923,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; {