mirror of
https://github.com/ceph/ceph
synced 2024-12-29 06:52:35 +00:00
src/os/bluestore/BlueStore.cc:fix typos
Signed-off-by: xianxiaxiao <xianxia.xiao@kylin-cloud.com>
This commit is contained in:
parent
b26555a042
commit
c70e4c3659
@ -788,8 +788,8 @@ void BlueStore::TwoQCache::_trim(uint64_t onode_max, uint64_t buffer_max)
|
||||
if (buffer_num) {
|
||||
uint64_t buffer_avg_size = buffer_bytes / buffer_num;
|
||||
assert(buffer_avg_size);
|
||||
uint64_t caculated_buffer_num = buffer_max / buffer_avg_size;
|
||||
kout = caculated_buffer_num * g_conf->bluestore_2q_cache_kout_ratio;
|
||||
uint64_t calculated_buffer_num = buffer_max / buffer_avg_size;
|
||||
kout = calculated_buffer_num * g_conf->bluestore_2q_cache_kout_ratio;
|
||||
}
|
||||
|
||||
if (buffer_list_bytes[BUFFER_HOT] < khot) {
|
||||
|
Loading…
Reference in New Issue
Block a user