]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore: correct possible mergeable size for ool extents
authormyoungwon oh <ohmyoungwon@gmail.com>
Thu, 21 Aug 2025 06:03:07 +0000 (06:03 +0000)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 21 Aug 2025 06:03:07 +0000 (06:03 +0000)
commit552499f86b6bf7cdf7f42ecf8e960edf85f56380
tree5570f5d6d9c738c67105e9c345cd9098ea5fc279
parent52c80fb413a4801f40741406bb6e8594369654c5
crimson/os/seastore: correct possible mergeable size for ool extents

Current implementation only checks a previous ool extent
before writing a ool extent. This can miss merge opportunities
for extents that are sequential but precede the last OOL extent.

This commit fixes this by reporting a correct mergeable size.

Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
src/crimson/os/seastore/extent_placement_manager.cc
src/crimson/os/seastore/extent_placement_manager.h