From 49613cb2aab6e73e3ea50fa164735b55e80121cd Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Tue, 23 Sep 2014 14:36:08 +0200 Subject: [PATCH] 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 --- src/test/erasure-code/ceph_erasure_code.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/erasure-code/ceph_erasure_code.cc b/src/test/erasure-code/ceph_erasure_code.cc index 3077aaaff451a..1d8dd903f598d 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, -- 2.39.5