From: xie xingguo Date: Sat, 26 Jan 2019 10:03:15 +0000 (+0800) Subject: osd/OSDMap: more improvements to upmap X-Git-Tag: v12.2.12~55^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f4f66e4f0af96e6e4daf86b81ec479f5fc8a3fd8;p=ceph.git osd/OSDMap: more improvements to upmap - add ability of appending a 2nd, 3rd, etc... pair to existing upmaps when possible, rather than just continuing to the next PG - handle the underfull case: we can rm-pg-upmap-items if there exist any upmaps which remapped a PG out from an underfull OSD See-also: http://tracker.ceph.com/issues/37940 Signed-off-by: xie xingguo (cherry picked from commit a7d2adf4283cc11ed567b0ad07c4076a50d7d2a0) Conflicts: - various option changes since luminous - s/assert/ceph_assert/ - s/conf./conf->/ --- diff --git a/src/common/options.cc b/src/common/options.cc index 231a7651b17f..d8d00a2e48cd 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1626,6 +1626,22 @@ std::vector