]> 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>
Thu, 27 Mar 2025 16:33:01 +0000 (10:33 -0600)
commit73231b70c49fd209af2835a426d3d7c352888725
treecc39d093b9f6e0b651c0587bea7ca5119f52c788
parentfe4bea71462bd71ce268c9a7e77217b2f5a65a18
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