函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-27 10:37:32
Last Modify:2022-05-22 13:40:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:io_schedule_prepare

函数原型:int io_schedule_prepare(void)

返回类型:int

参数:

5769  old_iowait等于in_iowait
5771  in_iowait等于1
5772  避免死锁处理
5774  返回:old_iowait
调用者
名称描述
io_schedule_timeoutThis task is about to go to sleep on IO. Increment rq->nr_iowait so* that process accounting knows that this is a task in IO wait state.
io_schedule
mutex_lock_io_nested
blkcg_maybe_throttle_blkgThis is called when we want to actually walk up the hierarchy and check to* see if we need to throttle, and then actually throttle if there is some* accumulated delay. This should only be called upon return to user space so