]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: MissingLoc: track location counts by upset and other
authorSage Weil <sage@redhat.com>
Fri, 2 Mar 2018 03:30:07 +0000 (21:30 -0600)
committerPrashant D <pdhange@redhat.com>
Thu, 30 Aug 2018 03:15:26 +0000 (23:15 -0400)
commit9f0b80e82906fb41fb61cf5116f749e5f22c7031
treedc20842b9f078cbbee13fbbddd42d9060c2744d1
parentd500ca94f08fc3e01364cfd350e02d8e757f024f
osd/PG: MissingLoc: track location counts by upset and other

For every object in missing_loc, calculate how many known locations are in
the upset and all others, and call that loc_count_t.  Keep
a map of loc_count_t to the number of missing objects with that
distribution.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit eddf510e734b8bdded271350c0b00428669559ff)

Conflicts:
src/osd/PG.cc : Resolved in add_batch_sources_info, check_recovery_sources
src/osd/PrimaryLogPG.cc : Deleted check_recovery_sources
src/osd/PG.cc
src/osd/PG.h
src/osd/PrimaryLogPG.cc