函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wb_check_background_flush

函数原型:static long wb_check_background_flush(struct bdi_writeback *wb)

返回类型:long

参数:

类型参数名称
struct bdi_writeback *wb
1952  如果wb_over_bg_thresh - does @wb need to be written back?*@wb: bdi_writeback of interest* Determines whether background writeback should keep writing @wb or it's* clean enough.* Return: %true if writeback should continue.
1954  struct wb_writeback_work work = {nr_pages = LONG_MAX, sync_mode = Don't wait on anything , for_background = 1, range_cyclic = 1, why was writeback initiated? = WB_REASON_BACKGROUND, }
1962  返回:Explicit flushing or periodic writeback of "old" data
1965  返回:0
调用者
名称描述
wb_do_writebackRetrieve work items and do the writeback they describe