]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: batch OSDs nodown/noout support
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 25 Apr 2017 06:41:09 +0000 (14:41 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 12 Jun 2017 02:08:33 +0000 (10:08 +0800)
commit4fec5b85f1763eb6b5a8d68eae2af97f6fd63d0e
tree012674732fb117888d8c5452cc764f573df87073
parentc41ab152e9861cf800d8ebffdaed6523bee3257d
mon/OSDMonitor: batch OSDs nodown/noout support

This patch allow us to add batch OSDs(e.g., from a specific host which is currently in maintenance)
into a specific nodown/noout list, which can not be automatically marked down/out
and hence can be eliminated from data migration.

This has the same effect with the global nodown/noout flag but is more fine-grained.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
qa/workunits/cephtool/test.sh
src/common/ceph_strings.cc
src/include/rados.h
src/mon/MonCommands.h
src/mon/OSDMonitor.cc
src/osd/OSDMap.h