]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: add location option for "crush add-bucket" command 17125/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 21 Aug 2017 09:04:27 +0000 (17:04 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 22 Aug 2017 02:39:03 +0000 (10:39 +0800)
commitac36b471a37aed0001d5d8003d895ddd2d8857d4
tree23f17c5c694adddba602af84c55a97320cf2993f
parent572575c3f7cd08bdb689782e4752848dece86f1e
mon/OSDMonitor: add location option for "crush add-bucket" command

So we can combine "crush add-bucket" with "crush move" command,
and hence avoid making two separate changes to the osdmap,
and hence slow down map-epoch generation.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
qa/workunits/mon/crush_ops.sh
src/mon/MonCommands.h
src/mon/OSDMonitor.cc
src/test/pybind/test_ceph_argparse.py