Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:throtl_charge_bio

Proto:static void throtl_charge_bio(struct throtl_grp *tg, struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct throtl_grp *tg
struct bio *bio
1044  rw = Return the data direction, READ or WRITE.(bio)
1045  bio_size = throtl_bio_data_size(bio)
1048  Number of bytes disptached in current slice [rw] += bio_size
1049  Number of bio's dispatched in current slice [rw]++
1050  last_bytes_disp[rw] += bio_size
1051  last_io_disp[rw]++
1059  If Not bio_flagged(bio, BIO_THROTTLED) Then bio_set_flag(bio, BIO_THROTTLED)
Caller
NameDescribe
tg_dispatch_one_bio
blk_throtl_bio