Project

General

Profile

Actions

Bug #63618

closed

Allocator configured with 64K alloc unit might get 4K requests

Added by Igor Fedotov 6 months ago. Updated 2 months ago.

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

100%

Source:
Community (dev)
Tags:
backport_processed
Backport:
reef, quincy, pacific
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Legacy (pre-pacific deployed) OSDs setup their main device allocator with 64K allocation unit - as configured in OSD's label.
After introducing 4K alloc unit support to BlueFS and if DB co-locates main device or BlueFS spills over this allocator might get allocate/release 4K-aligned requests. This is more or less fine for AVL/BTree/Stupid allocator but inappropriate for bitmap one (including its incarnation inside hybrid one).
As a result assertions or free space leaks might occur.


Files

a.patch (3.95 KB) a.patch UT to reproduce issues Igor Fedotov, 11/23/2023 08:02 PM

Related issues 4 (1 open3 closed)

Related to bluestore - Bug #62282: BlueFS and BlueStore use the same space (init_rm_free assert)New

Actions
Copied to bluestore - Backport #63757: reef: Allocator configured with 64K alloc unit might get 4K requestsResolvedIgor FedotovActions
Copied to bluestore - Backport #63758: quincy: Allocator configured with 64K alloc unit might get 4K requestsResolvedActions
Copied to bluestore - Backport #63759: pacific: Allocator configured with 64K alloc unit might get 4K requestsResolvedIgor FedotovActions
Actions

Also available in: Atom PDF