Actions
Bug #62341
openHybrid allocator fails free space consistency check
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
Description
The problem was discovered after updating aging test:
https://github.com/ceph/ceph/pull/52830
When testing hybrid with low memory given:
./bin/unittest_alloc_aging --gtest_filter=\*/4 --bluestore_hybrid_alloc_mem_cap=1000000 --log-to-stderr=true --debug-bluestore=1/1
There is an inconsistency between reported free space and iterated free space/
Expected equality of these values:
sum
Which is: 2199020109824
capacity
Which is: 2199023255552
It is still open which one of these is actually correct.
Updated by Adam Kupczyk over 2 years ago
Just added checking of free extents to https://github.com/ceph/ceph/pull/52830.
Now one can see (very sporadic)
Expected equality of these values:
end
Which is: 3997696
it->first
Which is: 4194304
hole [0x3d0000-0x400000]
Actions