Actions
Bug #77894
closed
YS
ID
librbd/cache/pwl: deadlock in AbstractWriteLog destructor: ThreadPool::stop() called while holding m_lock
Bug #77894:
librbd/cache/pwl: deadlock in AbstractWriteLog destructor: ThreadPool::stop() called while holding m_lock
Due date:
% Done:
0%
Source:
Backport:
squid,tentacle,umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v21.3.0-2591-g89d8d47ef2
Released In:
Upkeep Timestamp:
2026-08-27T18:46:43+00:00
Description
The destructor called ThreadPool::stop() while holding m_lock. stop()
joins the tp_pwl workers, but a worker draining an in-flight op may
itself need m_lock (e.g. dispatch_deferred_writes), so both sides wait
forever, intermittently hanging TestMockCacheSSDWriteLog.*.
ID Updated by Ilya Dryomov 4 months ago
- Status changed from New to Fix Under Review
- Assignee set to Yuechi Sun
- Backport set to squid,tentacle,umbrella
ID Updated by Ilya Dryomov 4 months ago
- Assignee changed from Yuechi Sun to Ilya Dryomov
- Pull request ID changed from 69898 to 71083
ID Updated by Ilya Dryomov 3 months ago
- Project changed from Ceph to rbd
UB Updated by Upkeep Bot 3 months ago
- Status changed from Fix Under Review to Pending Backport
- Merge Commit set to 89d8d47ef2643e17ae579df46e14f9ee0ae8f54e
- Fixed In set to v21.3.0-2591-g89d8d47ef2
- Upkeep Timestamp set to 2026-08-24T10:16:52+00:00
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #79762: umbrella: librbd/cache/pwl: deadlock in AbstractWriteLog destructor: ThreadPool::stop() called while holding m_lock added
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #79763: squid: librbd/cache/pwl: deadlock in AbstractWriteLog destructor: ThreadPool::stop() called while holding m_lock added
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #79764: tentacle: librbd/cache/pwl: deadlock in AbstractWriteLog destructor: ThreadPool::stop() called while holding m_lock added
UB Updated by Upkeep Bot 3 months ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-08-24T10:16:52+00:00 to 2026-08-27T18:46:43+00:00
Actions