Merge pull request #81 from leseb/enh-testing-mode

Enable single host mode
pull/82/head
Leseb 2014-05-01 01:27:20 +02:00
commit 3b68622f9d
2 changed files with 8 additions and 0 deletions

View File

@ -48,3 +48,8 @@ osd_op_threads: 8
osd_recovery_max_active: 5
osd_max_backfills: 2
osd_recovery_op_priority: 2
## Testing mode
# enable this mode _only_ when you have a single node
common_single_host_mode: true

View File

@ -27,6 +27,9 @@
{% if pool_default_crush_rule is defined %}
osd pool default crush rule = {{ pool_default_crush_rule }}
{% endif %}
{% if common_single_host_mode is defined %}
osd crush chooseleaf type = 0
{% endif %}
[mon]
mon osd down out interval = {{ mon_osd_down_out_interval }}