Project

General

Profile

Actions

Bug #50589

closed

[pwl ssd] crash when reading a split log entry (after the log wraps)

Added by Ilya Dryomov almost 3 years ago. Updated about 2 years ago.

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

0%

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

Description

write_log_entries() will split a log entry at the end of the log, the remainder is written to the beginning at DATA_RING_BUFFER_OFFSET. On the read side aio_read_data_block() doesn't handle this case and just crashes.

Unless the workload in use is <= 4K, the image is rendered unusable sooner or later.


Related issues 1 (0 open1 closed)

Copied to rbd - Backport #50615: pacific: [pwl ssd] crash when reading a split log entry (after the log wraps)ResolvedIlya DryomovActions
Actions #1

Updated by Ilya Dryomov almost 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Backport set to pacific
  • Pull request ID set to 41093
Actions #2

Updated by Ilya Dryomov almost 3 years ago

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

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #50615: pacific: [pwl ssd] crash when reading a split log entry (after the log wraps) added
Actions #4

Updated by Ilya Dryomov about 2 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF