]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/OSDMap.h: toss osd out if it has no more pending states
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 22 Dec 2017 02:45:15 +0000 (10:45 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 22 Dec 2017 02:45:15 +0000 (10:45 +0800)
commit793af6cb7e6a9cda0b666a704456fca2161e5c9b
treec6e1e3792ee9506785591d73d09b839460d254e3
parentf9eea16a62f272ec7e9ce09c29eaf4223b5da29c
osd/OSDMap.h: toss osd out if it has no more pending states

So we don't push an empty entry into new_state map,
which is inefficient.

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