]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: introduce osd_pool_default_type config option
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 3 Jul 2017 06:14:21 +0000 (14:14 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 4 Jul 2017 10:22:09 +0000 (18:22 +0800)
commit1333c475c07c5ab37ddd863231173bec8be44008
tree5f9bd77080d0a5c55cfb2fd65e54c69af347a6c1
parentbcbae604b8f5ce8644f83bb5b52742dceafead7a
mon/OSDMonitor: introduce osd_pool_default_type config option

In luminous we now have full support of ec pool, so it is not
good to continue hardcoding default pool type to "replicated".

Introduce a configurable osd_pool_default_type for this.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/common/config_opts.h
src/mon/OSDMonitor.cc
src/osd/osd_types.h