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_start_all

Proto:static long wb_check_start_all(struct bdi_writeback *wb)

Type:long

Parameter:

TypeParameterName
struct bdi_writeback *wb
2006  If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return 0
2009  nr_pages = Add in the number of potentially dirty inodes, because each inode* write can dirty pagecache in the underlying blockdev.
2010  If nr_pages Then
2011  struct wb_writeback_work work = {nr_pages = wb_split_bdi_pages(wb, nr_pages), sync_mode = Don't wait on anything , range_cyclic = 1, why was writeback initiated? = start_all_reason, }
2018  nr_pages = Explicit flushing or periodic writeback of "old" data
2021  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
2022  Return nr_pages
Caller
NameDescribe
wb_do_writebackRetrieve work items and do the writeback they describe