]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
erasure-code: ceph_erasure_code does not need to avoid dlclose
authorLoic Dachary <loic-201408@dachary.org>
Tue, 23 Sep 2014 12:36:08 +0000 (14:36 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 25 Nov 2014 15:31:35 +0000 (16:31 +0100)
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 <loic-201408@dachary.org>
(cherry picked from commit 49613cb2aab6e73e3ea50fa164735b55e80121cd)

src/test/erasure-code/ceph_erasure_code.cc

index ed48205e8eff766e87ad9db99127ca227c5cae70..0d39a8b6479d590f8d20d33c42c4800ce3423848 100644 (file)
@@ -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,