Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:iolatency_pd_offline

Proto:static void iolatency_pd_offline(struct blkg_policy_data *pd)

Type:void

Parameter:

TypeParameterName
struct blkg_policy_data *pd
1002  iolat = pd_to_lat(pd)
1003  blkg = lat_to_blkg(iolat)
1004  blkiolat = blkiolat
1007  ret = rn 1 for enabling iolatency, return -1 for disabling iolatency, otherwise* return 0.
1008  If ret == 1 Then atomic_inc( & enabled)
1010  If ret == -1 Then atomic_dec( & enabled)
1012  iolatency_clear_scaling(blkg)