From 13cd140be94b8a95411bc72f46cb303b445a5205 Mon Sep 17 00:00:00 2001 From: Abutalib Aghayev Date: Thu, 10 Jun 2021 15:59:45 -0400 Subject: [PATCH] os/bluestore: Fix the size of the block in the Allocator base class to avoid the confusing log message about the block size. Signed-off-by: Abutalib Aghayev --- src/os/bluestore/ZonedAllocator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/bluestore/ZonedAllocator.cc b/src/os/bluestore/ZonedAllocator.cc index bd4bde6037f8b..6144779cb68e0 100644 --- a/src/os/bluestore/ZonedAllocator.cc +++ b/src/os/bluestore/ZonedAllocator.cc @@ -22,7 +22,7 @@ ZonedAllocator::ZonedAllocator(CephContext* cct, int64_t size, int64_t blk_size, std::string_view name) - : Allocator(name, size, blk_size), + : Allocator(name, size, blk_size & 0x00000000ffffffff), cct(cct), num_free(0), size(size), -- 2.39.5