函数逻辑报告

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

函数名称:Add in the number of potentially dirty inodes, because each inode* write can dirty pagecache in the underlying blockdev.

函数原型:static unsigned long get_nr_dirty_pages(void)

返回类型:unsigned long

参数:

1072  返回:global_node_page_state(NR_FILE_DIRTY)加global_node_page_state(NR_UNSTABLE_NFS)加get_nr_dirty_inodes()
调用者
名称描述
wb_check_old_data_flush
wb_check_start_all
writeback_inodes_sbwriteback_inodes_sb - writeback dirty inodes from given super_block*@sb: the superblock*@reason: reason why some writeback work was initiated* Start writeback on some inodes on this super_block
try_to_writeback_inodes_sbry_to_writeback_inodes_sb - try to start writeback if none underway*@sb: the superblock*@reason: reason why some writeback work was initiated* Invoke __writeback_inodes_sb_nr if no writeback is currently underway.