Actions
Bug #9120
openceph_manager locks are a noop
Status:
Need More Info
Priority:
Low
Assignee:
-
Category:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
The locks used in ceph_manager are using threading.RLocks which is documented as
Once a thread has acquired a reentrant lock, the same thread may acquire it again without blocking; the thread must release it once for each time it has acquired it.
Since teuthology runs each task in a gevent Lightweight pseudothread which is documented to be Cooperative multitasking meaning "The greenlets all run in the same OS thread", the lock will never block, even if acquired from two different gevent threads.
Actions