From: tan changzhi <544463199@qq.com> Date: Sun, 28 Apr 2024 10:22:25 +0000 (+0800) Subject: os/bluestore: allow use BtreeAllocator X-Git-Tag: v18.2.5~210^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f02ed27b45ac62fdf2c9db91f085c4836fc1dccb;p=ceph.git os/bluestore: allow use BtreeAllocator BtreeAllocator was added in the commit https://github.com/ceph/ceph/pull/41828. Its performance has advantages in some scenarios, but we cannot configure to use btree mode. Fixes: https://tracker.ceph.com/issues/65678 Signed-off-by: tan changzhi <544463199@qq.com> (cherry picked from commit 8d479122d06dee198a34659eb7aeae01b80bfbe1) --- diff --git a/src/common/options/global.yaml.in b/src/common/options/global.yaml.in index 9bab8af7063..319c2c501ec 100644 --- a/src/common/options/global.yaml.in +++ b/src/common/options/global.yaml.in @@ -4149,6 +4149,7 @@ options: - bitmap - stupid - avl + - btree - hybrid with_legacy: true - name: bluefs_log_replay_check_allocations @@ -4928,6 +4929,7 @@ options: - bitmap - stupid - avl + - btree - hybrid - zoned with_legacy: true