]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: update info only if new_interval 17437/head
authorKefu Chai <kchai@redhat.com>
Mon, 4 Sep 2017 05:51:34 +0000 (13:51 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 4 Sep 2017 05:51:52 +0000 (13:51 +0800)
commit4ae053439e526fab0451d1502576dce89eb6b44f
tree8f9673daf1c979ed5c9e1d90658f35d4d2163b72
parentc93c20fea5ffc6207fb304a8be2625e400ecc746
osd: update info only if new_interval

refactor OSD::build_initial_pg_history() so we update the info only if a
new interval is identified. also, this is consistent with
OSD::build_past_intervals_parallel().

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/OSD.cc