Project

General

Profile

Actions

Bug #48048

closed

osd: fix bluestore stupid allocator

Added by yantao xue over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by Kefu Chai over 3 years ago

  • Status changed from New to Resolved
  • Pull request ID set to 37900
Actions

Also available in: Atom PDF