Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__writeback_inodes_wb

Proto:static long __writeback_inodes_wb(struct bdi_writeback *wb, struct wb_writeback_work *work)

Type:long

Parameter:

TypeParameterName
struct bdi_writeback *wb
struct wb_writeback_work *work
1769  start_time = jiffies
1770  wrote = 0
1772  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
1773  inode = wb_inode(prev)
1774  sb = i_sb
1783  Continue
1785  wrote += Write a portion of b_io inodes which belong to @sb.* Return the number of pages and/or inodes written.* NOTE! This is called with wb->list_lock held, and will* unlock and relock that for each inode it ends up doing* IO for.
1786  lease a read lock
1789  If wrote Then
1792  If nr_pages <= 0 Then Break
1797  Return wrote
Caller
NameDescribe
writeback_inodes_wb
wb_writebackExplicit flushing or periodic writeback of "old" data