summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2013-06-05 11:10:34 -0700
committerSamuel Just <sam.just@inktank.com>2013-06-18 12:33:27 -0700
commiteace9987c19f4da5cc89ca84abec5e54035b4887 (patch)
tree54850fa7e7bc6f58abc6198172b2c0127b6b11a0
parentfda618e96690b2693c7a8dd523ece7c1c5a90b67 (diff)
downloadceph-eace9987c19f4da5cc89ca84abec5e54035b4887.tar.gz
PG: don't dirty log unconditionally in activate()
merge_log and friends all take care of dirtying the log as necessary. Fixes: #5238 Signed-off-by: Samuel Just <sam.just@inktank.com> (cherry picked from commit 5deece1d034749bf72b7bd04e4e9c5d97e5ad6ce)
-rw-r--r--src/osd/PG.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc
index d3565971c2e..5e477ac31fe 100644
--- a/src/osd/PG.cc
+++ b/src/osd/PG.cc
@@ -1526,7 +1526,6 @@ void PG::activate(ObjectStore::Transaction& t,
// write pg info, log
dirty_info = true;
dirty_big_info = true; // maybe
- dirty_log = true;
// clean up stray objects
clean_up_local(t);