Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bio_check_pages_dirty

Proto:void bio_check_pages_dirty(struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bio *bio
1740  If Not PageDirty(bv_page) && Not PageCompound(bv_page) Then Go to defer
1744  bio_release_pages(bio, false)
1745  _put - release a reference to a bio*@bio: bio to release reference to* Description:* Put a reference to a &struct bio, either one you have gotten with* bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.
1746  Return
1747  defer :
1748  spin_lock_irqsave( & bio_dirty_lock, flags)
1749  bi_private = bio_dirty_list
1750  bio_dirty_list = bio
1751  spin_unlock_irqrestore( & bio_dirty_lock, flags)
1752  schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise
Caller
NameDescribe
dio_bio_complete
iomap_dio_bio_end_io