]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: no default ruleset except for replicated pools
authorLoic Dachary <loic@dachary.org>
Sat, 1 Feb 2014 09:21:00 +0000 (10:21 +0100)
committerLoic Dachary <loic@dachary.org>
Tue, 4 Feb 2014 07:06:25 +0000 (08:06 +0100)
commit9d766cabdca0ba347b5d7b649124e365d6fa2948
treee13f6ba93b237171333be38b0e98460ae8b560ab
parent0cac20251acc4c152aaf5bdbba484ecc36ab1168
mon: no default ruleset except for replicated pools

Remove the hardcoded default ruleset for erasure coded pools and only
keep it for replicated pools. Move the logic up in the  prepare_new_pool
method so that an error code can be returned before allocating the new
pending pool in case the ruleset is not initialized.

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