]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: erasure code plugin loader helper
authorLoic Dachary <loic@dachary.org>
Sun, 2 Feb 2014 08:59:52 +0000 (09:59 +0100)
committerLoic Dachary <loic@dachary.org>
Tue, 4 Feb 2014 07:06:26 +0000 (08:06 +0100)
commitcaefb8a29a05ec1a049d0d3159567a444261d793
treed7eb0e16ae8df677413bb0b2c2d98703919b74d1
parent61c45fe03de7e2f8c276ef355c63280d5059582c
mon: erasure code plugin loader helper

The get_erasure_code helper loads the erasure code plugin found in the
erasure-code-plugin string of the properties argument. It is meant to be
used to query the plugin to determine the desired size of a pool, the
more suitable ruleset to use etc.

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