]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: maybe_remove_pg_upmaps - s/pg_to_raw_up/pg_to_raw_upmap/
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 1 Jun 2019 04:13:19 +0000 (12:13 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 18 Jun 2019 02:08:49 +0000 (10:08 +0800)
commit420b5b7e62388ce5a91a373c430c88aa862b924d
tree12f0d6fe2b5a80b31bbfac0ca44a26cd6d0cd254
parent5faacaeb6d5b000478282038023ad93fb330c2d4
osd/OSDMap: maybe_remove_pg_upmaps - s/pg_to_raw_up/pg_to_raw_upmap/

The upmap results are directly applied after calling
_pg_to_raw_osds, which means it basically has nothing to do
with the up/down status.
In other words, if a pg_upmap/pg_upmap_items remapped a pg
into some down osds and is now causing collided result,
we should still be able to detect and cancel that.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit d9ed406a61c46858dd8350af5c72d7b8824dcdd3)

Conflicts:
s/nextmap/tmpmap/
src/osd/OSDMap.cc