Commit 0da7a2a
committed
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 <[email protected]>1 parent 9238442 commit 0da7a2a
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4224 | 4224 | | |
4225 | 4225 | | |
4226 | 4226 | | |
4227 | | - | |
4228 | | - | |
| 4227 | + | |
| 4228 | + | |
| 4229 | + | |
| 4230 | + | |
4229 | 4231 | | |
4230 | | - | |
| 4232 | + | |
4231 | 4233 | | |
4232 | 4234 | | |
4233 | 4235 | | |
| |||
0 commit comments