Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-28 14:11:05
Last Modify:2022-05-23 13:25:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_writepages

Proto:int do_writepages(struct address_space *mapping, struct writeback_control *wbc)

Type:int

Parameter:

TypeParameterName
struct address_space *mapping
struct writeback_control *wbc
2340  If Write this many pages, and decrementthis for each page written <= 0 Then Return 0
2342  When 1 cycle
2343  If writepages Then ret = writepages(mapping, wbc)
2345  Else ret = generic_writepages - walk the list of dirty pages of the given address space and writepage() all of them
2347  If ret != -ENOMEM || sync_mode != WB_SYNC_ALL Then Break
2349  cond_resched()
2350  gestion_wait - wait for a backing_dev to become uncongested*@sync: SYNC or ASYNC IO*@timeout: timeout in jiffies* Waits for up to @timeout jiffies for a backing_dev (any backing_dev) to exit* write congestion
2352  Return ret