]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PGLog: initialize writeout_from in PGLog constructor
authorSamuel Just <sam.just@inktank.com>
Thu, 29 Aug 2013 22:08:58 +0000 (15:08 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 29 Aug 2013 22:12:44 +0000 (15:12 -0700)
Fixes: 6151
Backport: dumpling
Signed-off-by: Samuel Just <sam.just@inktank.com>
Introduced: f808c205c503f7d32518c91619f249466f84c4cf
Reviewed-by: Sage Weil <sage@inktank.com>
src/osd/PGLog.h

index 441b56706c45a553e3004862d759994f3f20bcb8..792191bea2a3035b1cd73195d1fa1a4c6555c2f7 100644 (file)
@@ -237,6 +237,7 @@ public:
   PGLog(CephContext *cct = 0) :
     pg_log_debug(!(cct && !(cct->_conf->osd_debug_pg_log_writeout))),
     touched_log(false), dirty_from(eversion_t::max()),
+    writeout_from(eversion_t::max()),
     dirty_divergent_priors(false), cct(cct) {}