Project

General

Profile

Actions

Bug #38761

closed
IF IF

Bitmap allocator might fail to return contiguous chunk despite having enough space

Bug #38761: Bitmap allocator might fail to return contiguous chunk despite having enough space

Added by Igor Fedotov over 7 years ago. Updated over 1 year ago.

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

0%

Source:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v14.2.0-431-g66990b1e32
Released In:
v15.2.0~3842
Upkeep Timestamp:
2025-08-02T04:37:44+00:00

Description

This happens when allocator has contiguous 4GB-aligned chunks to allocate from only. Internal stuff searching for free contiguous chunk operates 32-bit length field when doing the lookup. Due to 32-bit wrapping This results in free chunks of zero length to return. Which in turn is treated as the lack of free space.


Related issues 3 (0 open — 3 closed)

Copied to bluestore - Backport #38910: mimic: Bitmap allocator might fail to return contiguous chunk despite having enough space ResolvedIgor Fedotov

Actions
Copied to bluestore - Backport #38911: luminous: Bitmap allocator might fail to return contiguous chunk despite having enough space ResolvedIgor Fedotov

Actions
Copied to bluestore - Backport #38912: nautilus: Bitmap allocator might fail to return contiguous chunk despite having enough space ResolvedIgor Fedotov

Actions

IF Updated by Igor Fedotov over 7 years ago Actions #1

  • Pull request ID set to 26939

IF Updated by Igor Fedotov over 7 years ago Actions #2

  • Status changed from 12 to Fix Under Review

SW Updated by Sage Weil over 7 years ago Actions #3

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to nautilus, mimic, luminous

NC Updated by Nathan Cutler over 7 years ago Actions #4

  • Copied to Backport #38910: mimic: Bitmap allocator might fail to return contiguous chunk despite having enough space added

NC Updated by Nathan Cutler over 7 years ago Actions #5

  • Copied to Backport #38911: luminous: Bitmap allocator might fail to return contiguous chunk despite having enough space added

NC Updated by Nathan Cutler over 7 years ago Actions #6

  • Copied to Backport #38912: nautilus: Bitmap allocator might fail to return contiguous chunk despite having enough space added

IF Updated by Igor Fedotov over 7 years ago Actions #7

  • Assignee set to Igor Fedotov

IF Updated by Igor Fedotov over 7 years ago Actions #8

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Merge Commit set to 1337443e37ffbfcaf494bdb2bb80db4cf41b97f9
  • Fixed In set to v14.1.0-514-g1337443e37
  • Released In set to v15.2.0~3842^2
  • Upkeep Timestamp set to 2025-07-19T15:38:45+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Merge Commit changed from 1337443e37ffbfcaf494bdb2bb80db4cf41b97f9 to 66990b1e322321cd37eb6e0da7c2daa2bd68d97a
  • Fixed In changed from v14.1.0-514-g1337443e37 to v14.2.0-431-g66990b1e32
  • Released In changed from v15.2.0~3842^2 to v15.2.0~3842
  • Upkeep Timestamp changed from 2025-07-19T15:38:45+00:00 to 2025-08-02T04:37:44+00:00
Actions

Also available in: PDF Atom