Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-wbt.c Create Date:2022-07-28 18:06:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:calc_wb_limits

Proto:static void calc_wb_limits(struct rq_wb *rwb)

Type:void

Parameter:

TypeParameterName
struct rq_wb *rwb
298  If min_lat_nsec == 0 Then
299  normal writeback = background writeback = 0
300  Else if max_depth <= 2 Then
301  normal writeback = max_depth
302  background writeback = 1
303  Else
304  normal writeback = (max_depth + 1) / 2
305  background writeback = (max_depth + 3) / 4
Caller
NameDescribe
scale_up
scale_down
__wbt_update_limits