]> git.apps.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)
committerDavid Zafman <dzafman@redhat.com>
Wed, 14 Mar 2018 17:07:11 +0000 (10:07 -0700)
commiteddf510e734b8bdded271350c0b00428669559ff
treee874abd404216173dbfad57b217573b490655a83
parent09b5697ba267c0093b307026b6c9b102f17a085b
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>
src/osd/PG.cc
src/osd/PG.h
src/osd/PrimaryLogPG.cc