diff options
author | Samuel Just <sam.just@inktank.com> | 2013-05-13 14:23:00 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-05-13 15:55:34 -0700 |
commit | 72bf5f4813c273210b5ced7f7793bc1bf813690c (patch) | |
tree | 93b9fd2d22a67bc4745c630a205dff00d846b5e1 | |
parent | de4678fa780cae83b9e08c578bef1ad1739c7ca5 (diff) | |
download | ceph-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.cc | 2 |
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) { |