Project

General

Profile

Actions

Bug #68385

closed
AK AK

BlueFS files take too much space

Bug #68385: BlueFS files take too much space

Added by Adam Kupczyk about 2 years ago. Updated 3 months ago.

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

100%

Source:
Development
Backport:
squid, reef, quincy, pacific
Regression:
Yes
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-5522-g24378a0726
Released In:
v20.2.0~1808
Upkeep Timestamp:
2026-08-28T01:34:48+00:00

Description

Discovered during omap testing.
"omap_size = 62733696890"

Reported by ceph-bluestore-tool bluefs-stats:
LEV/DEV WAL DB SLOW * * REAL FILES
LOG 0 B 12 MiB 0 B 0 B 0 B 8.4 MiB 1
WAL 0 B 1.9 GiB 0 B 0 B 0 B 994 MiB 80
DB 0 B 93 GiB 0 B 0 B 0 B 61 GiB 1026
SLOW 0 B 0 B 0 B 0 B 0 B 0 B 0
TOTAL 0 B 95 GiB 0 B 0 B 0 B 0 B 1107

DB=93GB REAL=61GB

An example of overallocation, a modified "bluefs file list" command: {
"name": "db/011324.sst",
"db": 147652608,
"size": 59018881
}, {
"name": "db/011326.sst",
"db": 147652608,
"size": 46528470
}, {
"name": "db/011327.sst",
"db": 70320128,
"size": 70262700
}, {
"name": "db/011328.sst",
"db": 147652608,
"size": 65950035
}, {
"name": "db/011329.sst",
"db": 147652608,
"size": 60598249
},

A hunch:
A combination of https://github.com/ceph/ceph/pull/50469,
multiplied by not truncating files on close().


Related issues 4 (0 open — 4 closed)

Copied to bluestore - Backport #68486: squid: BlueFS files take too much spaceResolvedAdam Kupczyk

Actions
Copied to bluestore - Backport #68487: quincy: BlueFS files take too much spaceRejectedAdam Kupczyk

Actions
Copied to bluestore - Backport #68488: reef: BlueFS files take too much spaceResolvedAdam Kupczyk

Actions
Copied to bluestore - Backport #68489: pacific: BlueFS files take too much spaceRejectedAdam Kupczyk

Actions

AK Updated by Adam Kupczyk about 2 years ago Actions #1

  • Backport set to squid, reef, quincy, pacific
  • Regression changed from No to Yes

AK Updated by Adam Kupczyk about 2 years ago Actions #2

  • Status changed from New to Pending Backport

AK Updated by Adam Kupczyk about 2 years ago Actions #3

  • Pull request ID set to 60158

UB Updated by Upkeep Bot about 2 years ago Actions #4

UB Updated by Upkeep Bot about 2 years ago Actions #5

  • Copied to Backport #68487: quincy: BlueFS files take too much space added

UB Updated by Upkeep Bot about 2 years ago Actions #6

UB Updated by Upkeep Bot about 2 years ago Actions #7

  • Copied to Backport #68489: pacific: BlueFS files take too much space added

UB Updated by Upkeep Bot about 2 years ago Actions #8

  • Tags (freeform) set to backport_processed

AK Updated by Adam Kupczyk about 2 years ago Actions #9

  • Status changed from Pending Backport to Fix Under Review

NO Updated by Neha Ojha about 2 years ago Actions #10

  • Status changed from Fix Under Review to Pending Backport

KS Updated by Konstantin Shalygin about 2 years ago Actions #11

  • Assignee set to Adam Kupczyk
  • Target version set to v20.0.0
  • Source set to Development

IF Updated by Igor Fedotov almost 2 years ago Actions #12

@Adam Kupczyk looks like we can close this ticket given that we rather have no plans to backport this to Q and P.

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

  • Merge Commit set to 24378a07263f3ee7bc6f8d100e24e5d39d2dd71c
  • Fixed In set to v19.3.0-5522-g24378a07263
  • Upkeep Timestamp set to 2025-07-08T18:34:55+00:00

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

  • Fixed In changed from v19.3.0-5522-g24378a07263 to v19.3.0-5522-g24378a07263f
  • Upkeep Timestamp changed from 2025-07-08T18:34:55+00:00 to 2025-07-14T15:44:57+00:00

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

  • Fixed In changed from v19.3.0-5522-g24378a07263f to v19.3.0-5522-g24378a0726
  • Upkeep Timestamp changed from 2025-07-14T15:44:57+00:00 to 2025-07-14T21:09:33+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #16

  • Released In set to v20.2.0~1808
  • Upkeep Timestamp changed from 2025-07-14T21:09:33+00:00 to 2025-11-01T01:02:04+00:00

KS Updated by Konstantin Shalygin 9 months ago Actions #17

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100

UB Updated by Upkeep Bot 3 months ago Actions #18

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:02:04+00:00 to 2026-08-28T01:34:48+00:00
Actions

Also available in: PDF Atom