Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Function used by generic_writepages to call the real writepage* function and set the mapping flags on error

Proto:static int __writepage(struct page *page, struct writeback_control *wbc, void *data)

Type:int

Parameter:

TypeParameterName
struct page *page
struct writeback_control *wbc
void *data
2302  mapping = data
2303  ret = writepage(page, wbc)
2304  mapping_set_error - record a writeback error in the address_space*@mapping - the mapping in which an error should be set*@error - the error to set in the mapping* When writeback fails in some way, we must record that error so that
2305  Return ret