Project

General

Profile

Bug #39021

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

Added by Jason Dillaman 11 months ago. Updated 10 months ago.

Status:
Pending Backport
Priority:
Normal
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:

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

Copied to rbd - Backport #39194: luminous: Several race conditions are possible between io::ObjectRequest and io::CopyupRequest In Progress
Copied to rbd - Backport #39195: nautilus: Several race conditions are possible between io::ObjectRequest and io::CopyupRequest Resolved
Copied to rbd - Backport #39196: mimic: Several race conditions are possible between io::ObjectRequest and io::CopyupRequest In Progress

History

#1 Updated by Jason Dillaman 11 months ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman

#2 Updated by Mykola Golub 11 months ago

  • Status changed from In Progress to Pending Backport
  • Pull request ID set to 27357

#3 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #39194: luminous: Several race conditions are possible between io::ObjectRequest and io::CopyupRequest added

#4 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #39195: nautilus: Several race conditions are possible between io::ObjectRequest and io::CopyupRequest added

#5 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #39196: mimic: Several race conditions are possible between io::ObjectRequest and io::CopyupRequest added

Also available in: Atom PDF