From: Loic Dachary Date: Tue, 23 Sep 2014 12:36:08 +0000 (+0200) Subject: erasure-code: ceph_erasure_code does not need to avoid dlclose X-Git-Tag: v0.87.1~51^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c855f3958fb8c10bd824075c1739f40799f6d74b;p=ceph.git erasure-code: ceph_erasure_code does not need to avoid dlclose The only reason for not dlclosing plugins at exit is for callgrind but ceph_erasure_code has no workload that would require callgrind. Signed-off-by: Loic Dachary (cherry picked from commit 49613cb2aab6e73e3ea50fa164735b55e80121cd) --- diff --git a/src/test/erasure-code/ceph_erasure_code.cc b/src/test/erasure-code/ceph_erasure_code.cc index ed48205e8ef..0d39a8b6479 100644 --- a/src/test/erasure-code/ceph_erasure_code.cc +++ b/src/test/erasure-code/ceph_erasure_code.cc @@ -117,7 +117,6 @@ int ErasureCodeCommand::setup(int argc, char** argv) { int ErasureCodeCommand::run() { ErasureCodePluginRegistry &instance = ErasureCodePluginRegistry::instance(); - instance.disable_dlclose = true; ErasureCodeInterfaceRef erasure_code; int code = instance.factory(parameters["plugin"], parameters,