Actions
Bug #70143
closedhybrid_btree2 bad allocation returned
% 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
Detected in
https://tracker.ceph.com/issues/69920
Test:
https://pulpito.ceph.com/akupczyk-2025-02-17_09:28:03-rados-aclamk-testing-phoebe-2025-02-12-0909-distro-default-smithi/8134338
Other occurrences: [8134380], [8134442], [8134456]
-7> 2025-02-17T09:47:39.280+0000 7f20c5a178c0 10 bluefs _flush_F 0x55703377cb40 ignoring, length 0 < min_flush_size 524288
-6> 2025-02-17T09:47:39.280+0000 7f20c5a178c0 10 bluefs truncate 0x5a1 file file(ino 35 size 0x5a1 mtime 2025-02-17T09:47:39.282163+0000 allocated 10000 alloc_commit 10000 extents [1:0x897000~b000,1:0x1a93000~5000])
-5> 2025-02-17T09:47:39.280+0000 7f20c5a178c0 10 bluefs _claim_completed_aios got 0 aios
-4> 2025-02-17T09:47:39.280+0000 7f20c5a178c0 10 _wait_for_aio 0x55703377cb40
-3> 2025-02-17T09:47:39.280+0000 7f20c5a178c0 10 bluefs _wait_for_aio 0x55703377cb40 done in 0.000000
-2> 2025-02-17T09:47:39.280+0000 7f20c5a178c0 20 bluefs _flush_bdev
-1> 2025-02-17T09:47:39.284+0000 7f20c5a178c0 -1 /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/19.3.0-7529-g0c59d437/rpm/el9/BUILD/ceph-19.3.0-7529-g0c59d437/src/os/bluestore/BlueFS.cc: In function 'int BlueFS::truncate(BlueFS::FileWriter*, uint64_t)' thread 7f20c5a178c0 time 2025-02-17T09:47:39.282292+0000
/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/19.3.0-7529-g0c59d437/rpm/el9/BUILD/ceph-19.3.0-7529-g0c59d437/src/os/bluestore/BlueFS.cc: 3826: FAILED ceph_assert(cut_off == p->length)
The assert is in BlueFS::truncate, but the allocator had audacity to return: [1:0x897000~b000,1:0x1a93000~5000] for request for 64K.
Actions