From 62906d88f94ca134ef36a0f8ae8750a1f783d8fa Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 1 Feb 2016 13:32:30 -0500 Subject: [PATCH] osd/PG: fix scrub start object This was changed in 05d79faa512210b0f0a91640d18db33b887a6e73 but it needs to be more precise to avoid breaking BlueStore's assertions (that the start position is within the collection range). Signed-off-by: Sage Weil --- src/osd/PG.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index afcd3e37e382..2fd8dd2943ed 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -3994,9 +3994,8 @@ void PG::chunky_scrub(ThreadPool::TPHandle &handle) scrubber.reserved_peers.clear(); } - scrubber.start = hobject_t(); // Don't include temporary objects when scrubbing - scrubber.start.pool = info.pgid.pool(); + scrubber.start = info.pgid.pgid.get_hobj_start(); scrubber.state = PG::Scrubber::NEW_CHUNK; { -- 2.47.3