Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ry_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.

Proto:void try_to_writeback_inodes_sb(struct super_block *sb, enum wb_reason reason)

Type:void

Parameter:

TypeParameterName
struct super_block *sb
enum wb_reasonreason
2514  If Not rylock for reading -- returns 1 if successful, 0 if contention Then Return
2517  __writeback_inodes_sb_nr(sb, Add in the number of potentially dirty inodes, because each inode* write can dirty pagecache in the underlying blockdev., reason, true)
2518  lease a read lock