Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wb_check_background_flush

Proto:static long wb_check_background_flush(struct bdi_writeback *wb)

Type:long

Parameter:

TypeParameterName
struct bdi_writeback *wb
1952  If 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. Then
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  Return Explicit flushing or periodic writeback of "old" data
1965  Return 0
Caller
NameDescribe
wb_do_writebackRetrieve work items and do the writeback they describe