Bug #68385
closedBlueFS files take too much space
100%
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().
AK Updated by Adam Kupczyk about 2 years ago
- Backport set to squid, reef, quincy, pacific
- Regression changed from No to Yes
AK Updated by Adam Kupczyk about 2 years ago
- Status changed from New to Pending Backport
AK Updated by Adam Kupczyk about 2 years ago
- Pull request ID set to 60158
UB Updated by Upkeep Bot about 2 years ago
- Copied to Backport #68486: squid: BlueFS files take too much space added
UB Updated by Upkeep Bot about 2 years ago
- Copied to Backport #68487: quincy: BlueFS files take too much space added
UB Updated by Upkeep Bot about 2 years ago
- Copied to Backport #68488: reef: BlueFS files take too much space added
UB Updated by Upkeep Bot about 2 years ago
- Copied to Backport #68489: pacific: BlueFS files take too much space added
UB Updated by Upkeep Bot about 2 years ago
- Tags (freeform) set to backport_processed
AK Updated by Adam Kupczyk about 2 years ago
- Status changed from Pending Backport to Fix Under Review
NO Updated by Neha Ojha about 2 years ago
- Status changed from Fix Under Review to Pending Backport
KS Updated by Konstantin Shalygin about 2 years ago
- 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
@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
- 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
- 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
- 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
- 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
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
UB Updated by Upkeep Bot 3 months ago
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2025-11-01T01:02:04+00:00 to 2026-08-28T01:34:48+00:00