]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: conditionally disable dlclose of erasure code plugins
authorLoic Dachary <loic@dachary.org>
Thu, 12 Dec 2013 13:03:26 +0000 (14:03 +0100)
committerLoic Dachary <loic@dachary.org>
Fri, 20 Dec 2013 10:28:47 +0000 (11:28 +0100)
commitff9455baade41d5b82d9322cf0401a1c69b31945
tree25b28149ae47a99b1f9e529918a94fb05e578e0c
parentedaec9a8361396bd4c12814c16610669694b5b6c
osd: conditionally disable dlclose of erasure code plugins

When profiling, tools such as valgrind --tool=callgrind require that the
dynamically loaded libraries are not dlclosed so they can collect usage
information.

The public ErasureCodePluginRegistry::disable_dlclose boolean is introduced
for this purpose.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/osd/ErasureCodePlugin.cc
src/osd/ErasureCodePlugin.h