Actions
Bug #78047
closed
YS
YS
rbd-mirror: take MirrorStatusUpdater lock by value in queue_update_task
Bug #78047:
rbd-mirror: take MirrorStatusUpdater lock by value in queue_update_task
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-1059-g10d04194d5
Released In:
Upkeep Timestamp:
2026-08-27T18:41:15+00:00
Description
queue_update_task() took the lock by rvalue reference, so its early
returns never released it. In handle_update_task() that left m_lock
held across the on_finish->complete() calls; during shutdown a
completion can re-enter try_remove_mirror_image_status() and re-lock
m_lock, deadlocking.
YS Updated by Yuechi Sun 5 months ago
- Pull request ID set to 70033
ID Updated by Ilya Dryomov 5 months ago
- Status changed from New to Fix Under Review
- Assignee set to Yuechi Sun
- Backport set to squid,tentacle,umbrella
UB Updated by Upkeep Bot 5 months ago
- Status changed from Fix Under Review to Pending Backport
- Merge Commit set to 10d04194d54a2bc256404a1f5d37241c1ce45ad6
- Fixed In set to v21.3.0-1059-g10d04194d5
- Upkeep Timestamp set to 2026-07-15T22:23:04+00:00
UB Updated by Upkeep Bot 5 months ago
- Copied to Backport #78273: tentacle: rbd-mirror: take MirrorStatusUpdater lock by value in queue_update_task added
UB Updated by Upkeep Bot 5 months ago
- Copied to Backport #78274: umbrella: rbd-mirror: take MirrorStatusUpdater lock by value in queue_update_task added
UB Updated by Upkeep Bot 5 months ago
- Copied to Backport #78275: squid: rbd-mirror: take MirrorStatusUpdater lock by value in queue_update_task added
UB Updated by Upkeep Bot 5 months ago
- Tags (freeform) set to backport_processed
ID Updated by Ilya Dryomov 5 months ago
- Project changed from Ceph to rbd
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-07-15T22:23:04+00:00 to 2026-08-27T18:41:15+00:00
Actions