summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2013-05-13 14:23:00 -0700
committerSamuel Just <sam.just@inktank.com>2013-05-22 10:34:49 -0700
commite04b1894ed7f3a6e95007e58dae5b35357e5c507 (patch)
tree03693e34208eb9712be50e47c87a6894b320df13
parent3a02e00d1d3b904b312db283faedf4dff37b0f6f (diff)
downloadceph-e04b1894ed7f3a6e95007e58dae5b35357e5c507.tar.gz
PG: subset_last_update must be at least log.tail
Fixes: 5020 Backport: bobtail, cuttlefish Signed-off-by: Samuel Just <sam.just@inktank.com> Reviewed-by: David Zafman <david.zafman@inktank.com> (cherry picked from commit 72bf5f4813c273210b5ced7f7793bc1bf813690c)
-rw-r--r--src/osd/PG.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc
index f4ad633ab13..e78f16187f1 100644
--- a/src/osd/PG.cc
+++ b/src/osd/PG.cc
@@ -4145,7 +4145,7 @@ void PG::chunky_scrub() {
scrubber.block_writes = true;
// walk the log to find the latest update that affects our chunk
- scrubber.subset_last_update = eversion_t();
+ scrubber.subset_last_update = log.tail;
for (list<pg_log_entry_t>::iterator p = log.log.begin();
p != log.log.end();
++p) {