]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: In BlueFS::truncate accept wierd alloc_unit 63752/head
authorAdam Kupczyk <akupczyk@ibm.com>
Tue, 11 Mar 2025 10:52:15 +0000 (10:52 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Thu, 5 Jun 2025 08:46:49 +0000 (08:46 +0000)
commit42f407bf0f17b38c14fda7c34592beb2e1485354
treef64b603813099809954b338e3f33e9f6a2294b3d
parent0e74c319ef2f47fb7f0159327d6e150c80bb512d
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/71533
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 0da7a2a58c207b97c9bcf4a1dfcd9d09f0e9b954)
src/os/bluestore/BlueFS.cc