]> 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>
Fri, 6 Sep 2013 23:06:31 +0000 (16:06 -0700)
Fixes: 6151
Backport: dumpling
Signed-off-by: Samuel Just <sam.just@inktank.com>
Introduced: f808c205c503f7d32518c91619f249466f84c4cf
Reviewed-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 42d65b0a7057696f4b8094f7c686d467c075a64d)

src/osd/PGLog.h

index 871aa1ab7dd8b62578a9e93f3e4cc184cbca01e5..819cc6599efd6dfc40bb012544f4d606ad2602f2 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) {}