]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: don't dirty log unconditionally in activate()
authorSamuel Just <sam.just@inktank.com>
Wed, 5 Jun 2013 18:10:34 +0000 (11:10 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 5 Jun 2013 22:09:37 +0000 (15:09 -0700)
merge_log and friends all take care of dirtying the log
as necessary.

Fixes: #5238
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.cc

index cb13bdc850097bc6a9c30030fb6422be8382a196..84847eee29feb03534847d3868ea34b130c982e0 100644 (file)
@@ -1123,7 +1123,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);