]> git.apps.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>
Mon, 10 Nov 2014 13:56:43 +0000 (14:56 +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>
src/test/erasure-code/ceph_erasure_code.cc

index 3077aaaff451a3d73b65047d5952adab8c5c6534..1d8dd903f598df0477e78f645c716356207a7248 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,