]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: update info only if new_interval 17622/head
authorKefu Chai <kchai@redhat.com>
Mon, 4 Sep 2017 05:51:34 +0000 (13:51 +0800)
committerSage Weil <sage@redhat.com>
Sun, 10 Sep 2017 19:00:13 +0000 (15:00 -0400)
commit68f48c7af89fd5d8b224d52c8f60cfd2cdaf2df8
treef73ca0d0254d1b175515e0e267dc59158e49f73e
parent6957c220edc5c1bab7d41fa0d3ca06f02ec268d5
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>
(cherry picked from commit 4ae053439e526fab0451d1502576dce89eb6b44f)
src/osd/OSD.cc