]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: Fix the size of the block in the Allocator base class to avoid 41812/head
authorAbutalib Aghayev <agayev@psu.edu>
Thu, 10 Jun 2021 19:59:45 +0000 (15:59 -0400)
committerAbutalib Aghayev <agayev@psu.edu>
Thu, 10 Jun 2021 19:59:45 +0000 (15:59 -0400)
the confusing log message about the block size.

Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
src/os/bluestore/ZonedAllocator.cc

index bd4bde6037f8bd0f44ebc18f00cec3e435e18340..6144779cb68e06153d001de46fb1953c3c6c6f50 100644 (file)
@@ -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),