Actions
Bug #48048
closedosd: fix bluestore stupid allocator
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:
0%
Description
In StupidAllocator::_choose_bin, it uses cct->_conf->bdev_block_size that can be changed in the allocator running,but we had free space enxtens in 10 free trees with the old bdev_block_size, so the _choose_bin will give a wrong bin that is as the index of 10 free trees for the user has changed the bdev_block_size through osd asok config set command.
Updated by Kefu Chai over 3 years ago
- Status changed from New to Resolved
- Pull request ID set to 37900
Actions