]> 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)
committerNathan Cutler <ncutler@suse.com>
Wed, 26 Jun 2019 15:23:00 +0000 (17:23 +0200)
commitf9ab0ed6bac1992370a08dadeacabc1bf52afcad
tree3b1fe10a732c59206a2209b3c666043e9b051ad7
parentbbe1702a7c5366d213b4de9450f4a173fb46da0d
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)
src/osd/OSDMap.cc