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-13 15:55:34 -0700
commit72bf5f4813c273210b5ced7f7793bc1bf813690c (patch)
tree93b9fd2d22a67bc4745c630a205dff00d846b5e1
parentde4678fa780cae83b9e08c578bef1ad1739c7ca5 (diff)
downloadceph-72bf5f4813c273210b5ced7f7793bc1bf813690c.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>
-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 9a074a1ae05..049aa548476 100644
--- a/src/osd/PG.cc
+++ b/src/osd/PG.cc
@@ -4156,7 +4156,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) {