Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory-failure.c Create Date:2022-07-28 16:18:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Dirty pagecache page* Issues: when the error hit a hole page the error is not properly* propagated.

Proto:static int me_pagecache_dirty(struct page *p, unsigned long pfn)

Type:int

Parameter:

TypeParameterName
struct page *p
unsigned longpfn
677  mapping = page_mapping(p)
679  SetPageError(p)
681  If mapping Then
716  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
719  Return Clean (or cleaned) page cache page.