函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs-writeback.c Create Date:2022-07-29 10:41:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bdi_split_work_to_wbs

函数原型:static void bdi_split_work_to_wbs(struct backing_dev_info *bdi, struct wb_writeback_work *base_work, bool skip_if_busy)

返回类型:void

参数:

类型参数名称
struct backing_dev_info *bdi
struct wb_writeback_work *base_work
boolskip_if_busy
1056  might_sleep()
1058  如果非skip_if_busy或非writeback_in_progress - determine whether there is writeback in progress*@wb: bdi_writeback of interest* Determine whether there is writeback waiting to be handled against a* bdi_writeback.
1059  on completion 等于0
1060  wb_queue_work( & the root writeback info for this bdi , base_work)
调用者
名称描述
__writeback_inodes_sb_nr
sync_inodes_sbsync_inodes_sb - sync sb inode pages*@sb: the superblock* This function writes and waits on any dirty inode belonging to this* super_block.