]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: make hybrid allocator implementation reusable
authorIgor Fedotov <igor.fedotov@croit.io>
Fri, 14 Jul 2023 14:25:45 +0000 (17:25 +0300)
committerJoshua Baergen <jbaergen@digitalocean.com>
Wed, 9 Apr 2025 19:39:50 +0000 (13:39 -0600)
commit71ced83e8829294762ebd9d4ddd5f1b3718bc9ce
tree573bff6dd951d826f7cc4e0efc5e6d0901613f1d
parentd72be3e99c794887a59ef264fa12642717f6ba1b
os/bluestore: make hybrid allocator implementation reusable

Refactor hybrid allocator in a way to permit alternative
hybrid allocator implementations using the same code base.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/os/bluestore/Allocator.cc
src/os/bluestore/AvlAllocator.cc
src/os/bluestore/AvlAllocator.h
src/os/bluestore/HybridAllocator.cc
src/os/bluestore/HybridAllocator.h
src/os/bluestore/HybridAllocator_impl.h [new file with mode: 0644]
src/test/objectstore/hybrid_allocator_test.cc