]> 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)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 21 May 2024 12:42:51 +0000 (15:42 +0300)
commit82a0c732a8035de9d0e893acf6fb42b36677d53d
tree5aab63b0df9d723f002e24de27b9fca59fbaa325
parent52a934138ab1dcaa4fa6afe2be949d59bb07281f
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>
(cherry picked from commit a2f6c7b2a8607298be18e8d4e06644da05b2bb03)
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