]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: allow use BtreeAllocator 59498/head
authortan changzhi <544463199@qq.com>
Sun, 28 Apr 2024 10:22:25 +0000 (18:22 +0800)
committerPonnuvel Palaniyappan <pponnuvel@gmail.com>
Thu, 29 Aug 2024 06:48:38 +0000 (07:48 +0100)
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

index 3999a1a625fccd3c410dda52d31d0ef865d03ba1..5c9febc9537126892072d9ccf48460c68983eb5e 100644 (file)
@@ -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