函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wb_wakeup

函数原型:static void wb_wakeup(struct bdi_writeback *wb)

返回类型:void

参数:

类型参数名称
struct bdi_writeback *wb
154  spin_lock_bh( & protects work_list & dwork scheduling )
155  如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from修改延迟工作队列
157  spin_unlock_bh( & protects work_list & dwork scheduling )
调用者
名称描述
wb_start_writeback
wb_start_background_writebackwb_start_background_writeback - start background writeback*@wb: bdi_writback to write from* Description:* This makes sure WB_SYNC_NONE background writeback happens. When* this function returns, it is only guaranteed that for given wb
wb_workfnHandle writeback of dirty data for the device backed by this bdi. Also* reschedules periodically and does kupdated style flushing.
wakeup_dirtytime_writebackWake up bdi's periodically to make sure dirtytime inodes gets* written back periodically. We deliberately do *not* check the* b_dirtytime list in wb_has_dirty_io(), since this would cause the* kernel to be constantly waking up once there are any dirtytime