Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:56:15
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_set_pages_dirty() will mark all the bio's pages as dirty.

Proto:void bio_set_pages_dirty(struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bio *bio
1691  If Not PageCompound(bv_page) Then set_page_dirty() is racy if the caller has no reference against* CPU could truncate the page off the mapping and then free the mapping.* Usually, the page _is_ locked, or the caller is a user-space process which
Caller
NameDescribe
dio_bio_submitIn the AIO read case we speculatively dirty the pages before starting IO.* During IO completion, any of these pages which happen to have been written* back will be redirtied by bio_check_pages_dirty().
iomap_dio_bio_actor