]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Mon, 3 Jun 2019 03:06:29 +0000 (11:06 +0800)
commitd9ed406a61c46858dd8350af5c72d7b8824dcdd3
tree268958020b443a50e69a5169e4f133d6e6d55baa
parentc0ce22b8c861fb76957b4cbbd59d9800e1ec09c3
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>
src/osd/OSDMap.cc