]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/OSDMap: ignore pg_remap[_items] mappings when target osd isout
authorSage Weil <sage@redhat.com>
Wed, 22 Mar 2017 14:19:10 +0000 (09:19 -0500)
committerSage Weil <sage@redhat.com>
Sat, 25 Mar 2017 18:53:14 +0000 (14:53 -0400)
commiteebd9a1bc260d0b23f25ea04f01d76eb6cb3f3c5
treef65ca44e84ae5ddc32fce7e82377f23a6affa6f2
parent27d6f4373bafa24450f6dbb4e4252c2d9c2c1448
osd/OSDMap: ignore pg_remap[_items] mappings when target osd isout

If the remap target is fully out, ignore the mapping.

Do not do a probabilistic 'osd_weight' rejection; pg-remap is intended to
avoid probabilistic mappings.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSDMap.cc