From 45871f73221f9d754a832bf705db24df983b7129 Mon Sep 17 00:00:00 2001 From: wanglinke Date: Tue, 10 Sep 2024 16:21:32 +0800 Subject: [PATCH] os/bluestore: perfect comments in hybrid_allocator co-author: Jrchyang Yu Signed-off-by: Wang Linke --- src/os/bluestore/HybridAllocator_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/bluestore/HybridAllocator_impl.h b/src/os/bluestore/HybridAllocator_impl.h index 8a41e86a3cf..3897c7b5d09 100644 --- a/src/os/bluestore/HybridAllocator_impl.h +++ b/src/os/bluestore/HybridAllocator_impl.h @@ -38,7 +38,7 @@ int64_t HybridAllocatorBase::allocate( std::lock_guard l(T::get_lock()); // try bitmap first to avoid unneeded contiguous extents split if - // desired amount is less than shortes range in AVL + // desired amount is less than shortes range in AVL or Btree2 bool primary_first = !(bmap_alloc && bmap_alloc->get_free() && want < T::_lowest_size_available()); -- 2.39.5