Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:void blkcg_schedule_throttle(struct request_queue *q, bool use_memdelay)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
booluse_memdelay
1679  If Value for the false possibility is greater at compile time(flags & I am a kernel thread ) Then Return
1682  If Not blk_get_queue(q) Then Return
1685  If throttle_queue Then blk_put_queue(throttle_queue)
1687  throttle_queue = q
1688  If use_memdelay Then use_memdelay = use_memdelay
1690  set_notify_resume - cause tracehook_notify_resume() to be called*@task: task that will call tracehook_notify_resume()* Calling this arranges that @task will call tracehook_notify_resume()* before returning to user mode
Caller
NameDescribe
__blkcg_iolatency_throttle
ioc_rqos_throttle