Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical* weight, the more expensive each IO. Must round up.

Proto:static u64 abs_cost_to_cost(u64 abs_cost, unsigned int hw_inuse)

Type:u64

Parameter:

TypeParameterName
u64abs_cost
unsigned inthw_inuse
661  Return DIV64_U64_ROUND_UP(abs_cost * HWEIGHT_WHOLE, hw_inuse)
Caller
NameDescribe
iocg_wake_fn
iocg_kick_waitq
iocg_kick_delay
ioc_rqos_throttle
ioc_rqos_merge