]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/transaction_manager: add the max_data_allocation_size
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 21 Feb 2024 06:53:33 +0000 (14:53 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Mon, 22 Apr 2024 03:26:45 +0000 (11:26 +0800)
commita2f6c7b2a8607298be18e8d4e06644da05b2bb03
treef42bcdda12a65ab3ec1900f4a0ce1bf37fd19ecb
parentab916224e3e254e31025fb1723ca7e1147dee2c7
crimson/os/seastore/transaction_manager: add the max_data_allocation_size
configuration

Limit the max size of extents in seastore, which can avoid much read
amplification in case of remapping extents when extents integrity check
is mandatory

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/common/options/crimson.yaml.in
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/extent_placement_manager.h
src/crimson/os/seastore/transaction_manager.h
src/test/crimson/seastore/test_btree_lba_manager.cc
src/test/crimson/seastore/test_transaction_manager.cc