]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix bluestore stupid allocator choose wrong bin when running for that bdev_bloc... 37900/head
authorjhonxue <jhonxue@tencent.com>
Mon, 2 Nov 2020 10:42:35 +0000 (18:42 +0800)
committerjhonxue <jhonxue@tencent.com>
Mon, 2 Nov 2020 10:42:35 +0000 (18:42 +0800)
commit350ccfc200242c6af967c6bc0b4b00515dec4dfe
tree730c3f754f0a93e3c575b248f1afb8158ac723ef
parent190534ae0898c5750cf94c6073a4e9b3e8e78dd9
osd: fix bluestore stupid allocator choose wrong bin when running for that  bdev_block_size can be changed
by asok command that ceph daemon osd.* config set bdev_block_size other_size

Fixes: https://tracker.ceph.com/issues/48048
Signed-off-by: Xue Yantao <jhonxue@tencent.com>
src/os/bluestore/StupidAllocator.cc
src/os/bluestore/StupidAllocator.h