]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: pool create helper for crush ruleset
authorLoic Dachary <loic@dachary.org>
Sun, 2 Feb 2014 08:56:13 +0000 (09:56 +0100)
committerLoic Dachary <loic@dachary.org>
Tue, 4 Feb 2014 07:06:26 +0000 (08:06 +0100)
commit61c45fe03de7e2f8c276ef355c63280d5059582c
tree44305ab56e320750ef95c41de26d705f5ec8ae51
parent6caac92c7e561c1d40e78fa1d248b4c4afd60d87
mon: pool create helper for crush ruleset

The crush ruleset of the replicated pools are by default set to
osd_pool_default_crush_replicated_ruleset but it may vary depending on
the pool type. Create a helper to compute the crush ruleset.

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h