Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ioprio.h Create Date:2022-07-28 05:42:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This is for the case where the task hasn't asked for a specific IO class.* Check for idle and rt task process, and return appropriate IO class.

Proto:static inline int task_nice_ioclass(struct task_struct *task)

Type:int

Parameter:

TypeParameterName
struct task_struct *task
65  If policy == SCHED_ISO: reserved but not implemented yet Then Return IOPRIO_CLASS_IDLE
67  Else if task_is_realtime(task) Then Return IOPRIO_CLASS_RT
69  Else Return IOPRIO_CLASS_BE
Caller
NameDescribe
bfq_set_next_ioprio_dataUpdate the entity prio values; note that the new values will not* be used until the next (re)activation.