Skip to content

Commit 45871f7

Browse files
author
wanglinke
committed
os/bluestore: perfect comments in hybrid_allocator
co-author: Jrchyang Yu <[email protected]> Signed-off-by: Wang Linke <[email protected]>
1 parent 8cf6dbd commit 45871f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/bluestore/HybridAllocator_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ int64_t HybridAllocatorBase<T>::allocate(
3838
std::lock_guard l(T::get_lock());
3939

4040
// try bitmap first to avoid unneeded contiguous extents split if
41-
// desired amount is less than shortes range in AVL
41+
// desired amount is less than shortes range in AVL or Btree2
4242
bool primary_first = !(bmap_alloc &&
4343
bmap_alloc->get_free() &&
4444
want < T::_lowest_size_available());

0 commit comments

Comments
 (0)