]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG.cc: initialize PG::flushed in constructor
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 16 Apr 2013 16:14:49 +0000 (18:14 +0200)
committerSage Weil <sage@inktank.com>
Wed, 17 Apr 2013 20:31:38 +0000 (13:31 -0700)
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 fb840c8ff75b0c66dfeed48e8558542fe3da4c24)

src/osd/PG.cc

index 90cfb5dff2d135bc36d3e8e254b2c66b9145ed17..f21882966dab0fc25c90ea7543978b1302a87a85 100644 (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)))),