]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: allow loading a plugin from factory()
authorLoic Dachary <loic@dachary.org>
Sat, 25 Jan 2014 21:35:34 +0000 (22:35 +0100)
committerLoic Dachary <loic@dachary.org>
Thu, 27 Mar 2014 13:26:54 +0000 (14:26 +0100)
commit12d4f382d6d822dad61887386ff20978c7dcf83c
treee700133e568906e250eefc10a0d01e2bc1bdf5a9
parentf1a1ac8243550e17c3a587f50766781e97206e29
erasure-code: allow loading a plugin from factory()

The Mutex scope is restricted to only protect the load() method and not
the factory() method. This allows a plugin to load another plugin from
within the factory() method.

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