From: Abutalib Aghayev Date: Thu, 10 Jun 2021 19:59:45 +0000 (-0400) Subject: os/bluestore: Fix the size of the block in the Allocator base class to avoid X-Git-Tag: v17.1.0~1683^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=13cd140be94b8a95411bc72f46cb303b445a5205;p=ceph.git 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 --- 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),