函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-wbt.c Create Date:2022-07-27 19:42:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:latency_exceeded

函数原型:static int latency_exceeded(struct rq_wb *rwb, struct blk_rq_stat *stat)

返回类型:int

参数:

类型参数名称
struct rq_wb *rwb
struct blk_rq_stat *stat
236  bdi等于backing_dev_info
237  rqd等于rq_depth
249  thislat等于rwb_sync_issue_lat(rwb)
250  如果thislat大于 current window size thislat大于min_lat_nsec且非nr_samples
252  wbt_lat - trace latency event*@lat: latency trigger
253  返回:LAT_EXCEEDED
259  如果非stat_sample_valid(stat)则
266  如果nr_samplesIf a task was rate throttled in balance_dirty_pages() within the last* second or so, use that to indicate a higher cleaning rate.wbt_inflight(rwb)则返回:LAT_UNKNOWN_WRITES
269  返回:LAT_UNKNOWN
275  如果min大于min_lat_nsec
276  wbt_lat - trace latency event*@lat: latency trigger
277  wbt_stat - trace stats for blk_wb*@stat: array of read/write stats
278  返回:LAT_EXCEEDED
281  如果scale_stepwbt_stat - trace stats for blk_wb*@stat: array of read/write stats
284  返回:LAT_OK
调用者
名称描述
wb_timer_fn