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:Retrieve work items and do the writeback they describe

Proto:static long wb_do_writeback(struct bdi_writeback *wb)

Type:long

Parameter:

TypeParameterName
struct bdi_writeback *wb
2032  wrote = 0
2034  Atomically set a bit in memory
2035  When ((work = Return the next wb_writeback_work struct that hasn't been processed yet.) != NULL) cycle
2036  trace_writeback_exec(wb, work)
2037  wrote += Explicit flushing or periodic writeback of "old" data
2038  finish_writeback_work(wb, work)
2044  wrote += wb_check_start_all(wb)
2049  wrote += wb_check_old_data_flush(wb)
2050  wrote += wb_check_background_flush(wb)
2051  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).
2053  Return wrote
Caller
NameDescribe
wb_workfnHandle writeback of dirty data for the device backed by this bdi. Also* reschedules periodically and does kupdated style flushing.