Project

General

Profile

Bug #54465

BlueFS broken sync compaction mode

Added by Adam Kupczyk 7 months ago. Updated 10 days ago.

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

0%

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

Description

BlueFS fine grain locking refactor block sync compaction mode.

The problem is off-by-1 in seq which leads to drop of all but first _replay log entries.

022-03-03T07:55:39.765+0000 7ffff7fda840 20 bluefs _replay 0x0: op_dir_create sharding
2022-03-03T07:55:39.765+0000 7ffff7fda840 20 bluefs _replay 0x0: op_dir_link sharding/def to 21
2022-03-03T07:55:39.765+0000 7ffff7fda840 20 bluefs _replay 0x0: op_jump_seq 1025
2022-03-03T07:55:39.765+0000 7ffff7fda840 10 bluefs _read h 0x555557c46400 0x1000~1000 from file(ino 1 size 0x1000 mtime 0.000000 allocated 410000 alloc_commit 410000 extents [1:0x1540000~410000])
2022-03-03T07:55:39.765+0000 7ffff7fda840 20 bluefs _read left 0xff000 len 0x1000
2022-03-03T07:55:39.765+0000 7ffff7fda840 20 bluefs _read got 4096
2022-03-03T07:55:39.765+0000 7ffff7fda840 10 bluefs _replay 0x1000: stop: seq 1025 != expected 1026
2022-03-03T07:55:39.765+0000 7ffff7fda840 10 bluefs _replay log file size was 0x1000
2022-03-03T07:55:39.765+0000 7ffff7fda840 10 bluefs _replay done

The default mode is async mode.


Related issues

Copied to bluestore - Backport #55024: quincy: BlueFS broken sync compaction mode Resolved

History

#1 Updated by Adam Kupczyk 7 months ago

  • Pull request ID set to 45246

#2 Updated by Neha Ojha 7 months ago

  • Status changed from New to Fix Under Review

#3 Updated by Adam Kupczyk 6 months ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Backport Bot 6 months ago

  • Copied to Backport #55024: quincy: BlueFS broken sync compaction mode added

#5 Updated by Backport Bot about 2 months ago

  • Tags set to backport_processed

#6 Updated by Igor Fedotov 10 days ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF