Project

General

Profile

Bug #39968

[journal] add support for aligned appends

Added by Jason Dillaman 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/19/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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.

History

#1 Updated by Mykola Golub 4 months ago

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

#2 Updated by Mykola Golub 4 months ago

  • Status changed from In Progress to Need Review
  • Pull request ID set to 28351

#3 Updated by Jason Dillaman 3 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF