osd/PG.cc: initialize PG::flushed in constructor

Initialize PG::flushed in constructor with false as
described in doc/dev/osd_internals/pg.rst .

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit fb840c8ff7)
This commit is contained in:
Danny Al-Gaaf 2013-04-16 18:14:49 +02:00 committed by Sage Weil
parent f8183c91e5
commit 246b8118a8

View File

@ -89,6 +89,7 @@ PG::PG(OSDService *o, OSDMapRef curmap,
backfill_target(-1),
backfill_reserved(0),
backfill_reserving(0),
flushed(false),
pg_stats_lock("PG::pg_stats_lock"),
pg_stats_valid(false),
osr(osd->osr_registry.lookup_or_create(p, (stringify(p)))),