]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: do some new interval work on init() too
authorSage Weil <sage@redhat.com>
Mon, 27 Jul 2015 16:17:45 +0000 (12:17 -0400)
committerSage Weil <sage@redhat.com>
Fri, 7 Aug 2015 14:16:06 +0000 (10:16 -0400)
commit03de3b16b1f57d635aa460ba4ef6b32ccc914e19
treeaee478cf3281264fb8ed553b1ea414f6b39946c5
parent8cc861f2a2a0c08635cd246d52659f8c2863e9ed
osd/PG: do some new interval work on init() too

Some work we need to do on any new interval, *including* when the PG is
first created and there is no "interval change".  Factor out the (mostly
new) bits of start_peering_interval() that also need to happen on the
initial interval after the PG is first instantiated into on_new_interval().

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PG.h