Actions
Bug #79548
closed
YS
YS
librbd/cache/pwl: arm periodic stats timer only after init succeeds
Bug #79548:
librbd/cache/pwl: arm periodic stats timer only after init succeeds
Due date:
% Done:
0%
Source:
Backport:
squid,tentacle,umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
Merge Commit:
Fixed In:
v21.3.0-2534-g2c57b1df3d
Released In:
Upkeep Timestamp:
2026-08-27T18:46:41+00:00
Description
If an init step fails after pwl_init() armed the stats timer,
InitRequest deletes the image cache without shut_down(), so the
self-rearming timer callback keeps firing on the freed object.
Arm the timer after write_image_cache_state() completes instead: on
failure paths it is never armed, and any later teardown goes through
shut_down(), which cancels it.
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
UB Updated by Upkeep Bot 3 months ago
- Status changed from Fix Under Review to Pending Backport
- Merge Commit set to 2c57b1df3dbaebea6e45229e0b9b190c76c1b8cd
- Fixed In set to v21.3.0-2534-g2c57b1df3d
- Upkeep Timestamp set to 2026-08-23T17:48:26+00:00
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #79746: squid: librbd/cache/pwl: arm periodic stats timer only after init succeeds added
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #79747: umbrella: librbd/cache/pwl: arm periodic stats timer only after init succeeds added
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #79748: tentacle: librbd/cache/pwl: arm periodic stats timer only after init succeeds 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-23T17:48:26+00:00 to 2026-08-27T18:46:41+00:00
Actions