函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\backing-dev.h Create Date:2022-07-27 10:09:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bdi_write_congested

函数原型:static inline int bdi_write_congested(struct backing_dev_info *bdi)

返回类型:int

参数:

类型参数名称
struct backing_dev_info *bdi
499  返回:bdi_congested(bdi, 1 << WB_async_congested)
调用者
名称描述
current_may_throttleIf a kernel thread (such as nfsd for loop-back mounts) services* a backing device by writing to the page cache it sets PF_LESS_THROTTLE.* In that case we should only throttle if the backing device it is* writing to is congested