Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__blkcg_iolatency_throttle

Proto:static void __blkcg_iolatency_throttle(struct rq_qos *rqos, struct iolatency_grp *iolat, bool issue_as_root, bool use_memdelay)

Type:void

Parameter:

TypeParameterName
struct rq_qos *rqos
struct iolatency_grp *iolat
boolissue_as_root
booluse_memdelay
285  rqw = rq_wait
286  use_delay = atomic_read( & use_delay)
288  If use_delay Then lkcg_schedule_throttle - this task needs to check for throttling*@q: the request queue IO was submitted on*@use_memdelay: do we charge this to memory delay for PSI* This is called by the IO controller when we know there's delay accumulated
298  If issue_as_root || fatal_signal_pending(current process) Then
299  atomic_inc( & inflight)
300  Return
303  q_qos_wait - throttle on a rqw if we need to*@rqw: rqw to throttle on*@private_data: caller provided specific data*@acquire_inflight_cb: inc the rqw->inflight counter if we can*@cleanup_cb: the callback to cleanup in case we race with a waker
Caller
NameDescribe
blkcg_iolatency_throttle