Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static void queue_io(struct bdi_writeback *wb, struct wb_writeback_work *work)

Type:void

Parameter:

TypeParameterName
struct bdi_writeback *wb
struct wb_writeback_work *work
1296  assert_spin_locked( & protects the b_* lists )
1297  list_splice_init - join two lists and reinitialise the emptied list.*@list: the new list to add.*@head: the place to add it in the first list.* The list at @list is reinitialised
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  If moved Then wb_io_lists_populated(wb)
1303  trace_writeback_queue_io(wb, work, moved)
Caller
NameDescribe
writeback_inodes_wb
wb_writebackExplicit flushing or periodic writeback of "old" data