Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bdi_write_congested

Proto:static inline int bdi_write_congested(struct backing_dev_info *bdi)

Type:int

Parameter:

TypeParameterName
struct backing_dev_info *bdi
499  Return bdi_congested(bdi, 1 << WB_async_congested)
Caller
NameDescribe
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