Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Called on completion of a request. Note that it's also called when* a request is merged, when the request gets freed.

Proto:static void wbt_done(struct rq_qos *rqos, struct request *rq)

Type:void

Parameter:

TypeParameterName
struct rq_qos *rqos
struct request *rq
187  rwb = RQWB(rqos)
189  If Not wbt_is_tracked(rq) Then
190  If sync_cookie == rq Then
191  sync_issue = 0
192  sync_cookie = NULL
195  If wbt_is_read(rq) Then wb_timestamp(rwb, & last non-throttled comp )
197  Else
198  WARN_ON_ONCE(rq == sync_cookie)
199  __wbt_done(rqos, wbt_flags(rq))
201  wbt_stat - trace stats for blk_wb*@stat: array of read/write stats