]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: remove build_past_intervals_parallel
authorSage Weil <sage@redhat.com>
Sat, 16 Sep 2017 18:08:07 +0000 (14:08 -0400)
committerSage Weil <sage@redhat.com>
Fri, 6 Oct 2017 18:08:18 +0000 (13:08 -0500)
commitac9e2f76093ef00238a1a8a0266a95c5ca2468b2
tree4a75e5ebb4ea261b721741f4c7e5c2cdc71e867c
parent602203819a8ad0f553be6c57456b7bb55f634473
osd: remove build_past_intervals_parallel

This was added in the dumpling era to handle the case where we have lots
of PGs with stale or missing past_intervals.  These days, we update
PastIntervals as we inject new makes (via advance_map), when we
learn about new PGs via notify with get the PastIntervals at the same time,
and during PGCreate handling we have a separate path in
build_initial_pg_history.  This code is obsolete.

It also reaches deep into the PG class where it shouldn't!

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