Skip to content

Commit

Permalink
Merge pull request #8071 from xiexingguo/xxg-wip-fixptr
Browse files Browse the repository at this point in the history
osd: initialize last_recalibrate field at construction

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Mar 15, 2016
2 parents 1cef679 + 12d151f commit cbcff08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osd/OSD.cc
Expand Up @@ -236,6 +236,7 @@ OSDService::OSDService(OSD *osd) :
agent_timer_lock("OSD::agent_timer_lock"),
agent_timer(osd->client_messenger->cct, agent_timer_lock),
promote_probability_millis(1000),
last_recalibrate(ceph_clock_now(NULL)),
promote_max_objects(0),
promote_max_bytes(0),
objecter(new Objecter(osd->client_messenger->cct, osd->objecter_messenger, osd->monc, NULL, 0, 0)),
Expand Down

0 comments on commit cbcff08

Please sign in to comment.