]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: set pg_stat.created
authorSage Weil <sage@newdream.net>
Thu, 10 Dec 2009 17:56:54 +0000 (09:56 -0800)
committerSage Weil <sage@newdream.net>
Thu, 10 Dec 2009 17:56:54 +0000 (09:56 -0800)
src/osd/PG.cc

index 457bf92ed064d7207e5d4be18f80dceb865de3b6..4ad31f5abe0fe8a2b5ce6591d5e2a6a5d1133fb1 100644 (file)
@@ -1743,6 +1743,7 @@ void PG::update_stats()
     // update our stat summary
     info.stats.reported.inc(info.history.same_primary_since);
     info.stats.version = info.last_update;
+    info.stats.created = info.history.epoch_created;
     pg_stats_valid = true;
     pg_stats_stable = info.stats;
     pg_stats_stable.state = state;