Project

General

Profile

Actions

Bug #13674

closed

Avoid re-writing old-format image header on resize

Added by Jason Dillaman over 8 years ago. Updated about 8 years ago.

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

0%

Source:
other
Tags:
Backport:
infernalis,hammer,firefly
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Race conditions are possible between snapshot creation and resize operations (especially if there are issues with watch/notify preventing a header re-read). For example, if a stale snapshot sequence is written to the header, the image will no longer be able to be opened:

librbd: image snap context is invalid!(5) Input/output error

Related issues 3 (0 open3 closed)

Copied to rbd - Backport #13752: Avoid re-writing old-format image header on resizeRejectedActions
Copied to rbd - Backport #13753: Avoid re-writing old-format image header on resizeResolvedAbhishek LekshmananActions
Copied to rbd - Backport #13754: Avoid re-writing old-format image header on resizeResolvedAbhishek VarshneyActions
Actions #1

Updated by Jason Dillaman over 8 years ago

  • Backport set to infernalis,hammer,firefly
Actions #2

Updated by Jason Dillaman over 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Loïc Dachary over 8 years ago

  • Copied to Backport #13752: Avoid re-writing old-format image header on resize added
Actions #4

Updated by Loïc Dachary over 8 years ago

  • Copied to Backport #13753: Avoid re-writing old-format image header on resize added
Actions #5

Updated by Loïc Dachary over 8 years ago

  • Copied to Backport #13754: Avoid re-writing old-format image header on resize added
Actions #6

Updated by Loïc Dachary over 8 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Loïc Dachary about 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF