Project

General

Profile

Actions

Bug #39021

closed

Several race conditions are possible between io::ObjectRequest and io::CopyupRequest

Added by Jason Dillaman about 5 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous,mimic,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The snap/parent locks are inconsistently held in numerous locations which could result in a race between IO execution and an image refresh. Additionally, nothing is currently preventing two copyup requests from executing concurrently once the parent image has been read (and it's removed from the in-flight copyup list).


Related issues 3 (0 open3 closed)

Copied to rbd - Backport #39194: luminous: Several race conditions are possible between io::ObjectRequest and io::CopyupRequestRejectedJason DillamanActions
Copied to rbd - Backport #39195: nautilus: Several race conditions are possible between io::ObjectRequest and io::CopyupRequestResolvedJason DillamanActions
Copied to rbd - Backport #39196: mimic: Several race conditions are possible between io::ObjectRequest and io::CopyupRequestRejectedJason DillamanActions
Actions

Also available in: Atom PDF