Merge pull request #41812 from agayev/zoned-fix-block-size

os/bluestore: Fix the size of the block in the Allocator base class t…

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
This commit is contained in:
Kefu Chai 2021-06-11 08:41:36 +08:00 committed by GitHub
commit 3cbca12ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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),