Project

General

Profile

Actions

Bug #39968

closed

[journal] add support for aligned appends

Added by Jason Dillaman almost 5 years ago. Updated almost 5 years ago.

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

0%

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

Description

Journal entries are normally appended to the the end of the journal object. Unaligned appends can result in between 2 - 3 writes within bluestore (depending on the append size and min alloc size). One potential solution would be to support a new "journal::append" cls method that could automatically re-align the write based on the current journal size. This would also require supporting a new "pad" journal event that can skip X number of bytes in the replay stream.

Actions #1

Updated by Mykola Golub almost 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Mykola Golub
Actions #2

Updated by Mykola Golub almost 5 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 28351
Actions #3

Updated by Jason Dillaman almost 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF