]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: In BlueFS::truncate accept wierd alloc_unit
authorAdam Kupczyk <akupczyk@ibm.com>
Tue, 11 Mar 2025 10:52:15 +0000 (10:52 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Wed, 7 May 2025 11:27:17 +0000 (11:27 +0000)
commit0da7a2a58c207b97c9bcf4a1dfcd9d09f0e9b954
treeb96b7579cde52ac49425c8777833fed2448db037
parent9238442fda536976cb9292893f82503da7c5de16
os/bluestore: In BlueFS::truncate accept wierd alloc_unit

The alignment of extents might not reflect current alloc_unit[bdev].
It might be caused be either fallback to alternate AU size for SLOW,
or change of allocation unit in DB or WAL.
In such cases, truncation just leaves extent untouched.

Fixes: https://tracker.ceph.com/issues/71235
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
src/os/bluestore/BlueFS.cc