函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:void try_to_writeback_inodes_sb(struct super_block *sb, enum wb_reason reason)

返回类型:void

参数:

类型参数名称
struct super_block *sb
enum wb_reasonreason
2514  如果非rylock for reading -- returns 1 if successful, 0 if contention则返回
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