Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_rq_wait

Proto:static inline struct rq_wait *get_rq_wait(struct rq_wb *rwb, enum wbt_flags wb_acct)

Type:struct rq_wait

Parameter:

TypeParameterName
struct rq_wb *rwb
enum wbt_flagswb_acct
107  If wb_acct & write, from kswapd Then Return rq_wait[WBT_RWQ_KSWAPD]
109  Else if wb_acct & discard Then Return rq_wait[WBT_RWQ_DISCARD]
112  Return rq_wait[WBT_RWQ_BG]
Caller
NameDescribe
__wbt_done
__wbt_waitBlock if we will exceed our limit, or if we are currently waiting for* the timer to kick off queuing again.