函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Queue all expired dirty inodes for io, eldest first.* Before* newly dirtied b_dirty b_io b_more_io* =============> gf edc BA* After* newly dirtied b_dirty b_io b_more_io* =============> g fBAedc* |* +--> dequeue for IO

函数原型:static void queue_io(struct bdi_writeback *wb, struct wb_writeback_work *work)

返回类型:void

参数:

类型参数名称
struct bdi_writeback *wb
struct wb_writeback_work *work
1296  assert_spin_locked( & protects the b_* lists )
1297  加入二个链表项并重新初始化
1298  moved等于Move expired (dirtied before work->older_than_this) dirty inodes from*@delaying_queue to @dispatch_queue.
1299  moved加等于Move expired (dirtied before work->older_than_this) dirty inodes from*@delaying_queue to @dispatch_queue.
1301  如果movedwb_io_lists_populated(wb)
1303  trace_writeback_queue_io(wb, work, moved)
调用者
名称描述
writeback_inodes_wb
wb_writebackExplicit flushing or periodic writeback of "old" data