ceph/src/mgr
Cory Snyder 0601b31a53 mgr/ActivePyModules.cc: always release GIL before attempting to acquire a lock
A thread that holds the GIL while attempting to acquire a mutex will cause a deadlock
if another thread owns the mutex and is waiting on the GIL. The GIL must not be treated
like an ordinary mutex since it may be preempted at any time or released when doing
blocking I/O. Such deadlocks are severe since they starve all threads from access to the
GIL and therefore prevent any Python code from running until the mgr process is restarted.

Fixes: https://tracker.ceph.com/issues/39264
Signed-off-by: Cory Snyder <csnyder@iland.com>
2020-12-21 09:57:03 -05:00
..
ActivePyModule.cc
ActivePyModule.h
ActivePyModules.cc mgr/ActivePyModules.cc: always release GIL before attempting to acquire a lock 2020-12-21 09:57:03 -05:00
ActivePyModules.h
BaseMgrModule.cc mgr/BaseMgrModule: add optional inbuf param to ceph_send_command. 2020-12-17 08:37:02 +01:00
BaseMgrModule.h
BaseMgrStandbyModule.cc
BaseMgrStandbyModule.h
ClusterState.cc
ClusterState.h
CMakeLists.txt
DaemonHealthMetric.h
DaemonHealthMetricCollector.cc
DaemonHealthMetricCollector.h
DaemonKey.cc
DaemonKey.h
DaemonServer.cc Merge pull request #38224 from Rethan/fix_pg_dump_json 2020-11-27 14:17:23 +08:00
DaemonServer.h
DaemonState.cc
DaemonState.h
Gil.cc
Gil.h
MDSPerfMetricCollector.cc
MDSPerfMetricCollector.h
MDSPerfMetricTypes.cc
MDSPerfMetricTypes.h
MetricCollector.cc
MetricCollector.h
MetricTypes.h
mgr_commands.cc
mgr_commands.h
Mgr.cc mgr: do not migrate conf from config-key store to new-style conf 2020-11-25 23:30:15 +08:00
Mgr.h
MgrCap.cc
MgrCap.h
MgrClient.cc
MgrClient.h
MgrCommands.h
MgrContext.h
MgrSession.h
MgrStandby.cc mgr: don't add config values to mgr log in config_callback and module_config 2020-12-15 16:02:15 +00:00
MgrStandby.h
OSDPerfMetricCollector.cc
OSDPerfMetricCollector.h
OSDPerfMetricTypes.cc
OSDPerfMetricTypes.h
PyFormatter.cc
PyFormatter.h
PyModule.cc
PyModule.h
PyModuleRegistry.cc mgr: don't add config values to mgr log in config_callback and module_config 2020-12-15 16:02:15 +00:00
PyModuleRegistry.h
PyModuleRunner.cc
PyModuleRunner.h
PyOSDMap.cc
PyOSDMap.h
PyUtil.cc tools: add throttle mechanism to immutable object cache 2020-12-03 19:14:44 +08:00
PyUtil.h
ServiceMap.cc
ServiceMap.h
StandbyPyModules.cc
StandbyPyModules.h
Types.h