From: wanglinke Date: Tue, 10 Sep 2024 08:21:32 +0000 (+0800) Subject: os/bluestore: perfect comments in hybrid_allocator X-Git-Tag: v20.0.0~1071^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F59696%2Fhead;p=ceph.git os/bluestore: perfect comments in hybrid_allocator co-author: Jrchyang Yu Signed-off-by: Wang Linke --- diff --git a/src/os/bluestore/HybridAllocator_impl.h b/src/os/bluestore/HybridAllocator_impl.h index 8a41e86a3cf1..3897c7b5d090 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());