summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2013-08-29 15:08:58 -0700
committerSamuel Just <sam.just@inktank.com>2013-09-06 16:06:31 -0700
commit074717b4b49ae1a55bc867e5c34d43c51edc84a5 (patch)
tree976ee3f4b3127d53c659e41bbe01912bfea913fc
parentc22d980cf42e580818dc9f526327518c0ddf8ff5 (diff)
downloadceph-074717b4b49ae1a55bc867e5c34d43c51edc84a5.tar.gz
PGLog: initialize writeout_from in PGLog constructor
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)
-rw-r--r--src/osd/PGLog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/PGLog.h b/src/osd/PGLog.h
index 871aa1ab7dd..819cc6599ef 100644
--- a/src/osd/PGLog.h
+++ b/src/osd/PGLog.h
@@ -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) {}