From 7c62e2183fbc14c5984923896b642bd44f92ece2 Mon Sep 17 00:00:00 2001 From: tan changzhi <544463199@qq.com> Date: Sun, 28 Apr 2024 18:22:25 +0800 Subject: [PATCH] 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) --- src/common/options/global.yaml.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/options/global.yaml.in b/src/common/options/global.yaml.in index 3999a1a625fcc..5c9febc953712 100644 --- a/src/common/options/global.yaml.in +++ b/src/common/options/global.yaml.in @@ -4124,6 +4124,7 @@ options: - bitmap - stupid - avl + - btree - hybrid with_legacy: true - name: bluefs_log_replay_check_allocations @@ -4903,6 +4904,7 @@ options: - bitmap - stupid - avl + - btree - hybrid - zoned with_legacy: true -- 2.39.5