]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: consider overfull osds only when trying to do upmap 32368/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 20 Dec 2019 08:26:44 +0000 (16:26 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 20 Dec 2019 08:45:25 +0000 (16:45 +0800)
commit42dbc4f2f0e8522c6e5b822adeafadf496c92189
tree67f9a18c5f1e7318418f655d743b54fa5faf3856
parentcfef72ede7b625d9ad676b5252e5e563c31422b4
osd/OSDMap: consider overfull osds only when trying to do upmap

By definition, we should only upmap pgs from overfull osds to
underfull osds. Hence we could make a safe exit if we start
to hit underfull osds when searching a target osd for upmapping.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/OSDMap.cc