Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs-writeback.c Create Date:2022-07-28 20:10:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static unsigned long get_nr_dirty_pages(void)

Type:unsigned long

Parameter:Nothing

1072  Return global_node_page_state(NR_FILE_DIRTY) + global_node_page_state(NR_UNSTABLE_NFS) + get_nr_dirty_inodes()
Caller
NameDescribe
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.