Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_check_pages_dirty() will check that all the BIO's pages are still dirty.* If they are, then fine. If, however, some pages are clean then they must* have been written out during the direct-IO read. So we take another ref on

Proto:static void bio_dirty_fn(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
1720  spin_lock_irq( & bio_dirty_lock)
1721  next = bio_dirty_list
1722  bio_dirty_list = NULL
1723  spin_unlock_irq( & bio_dirty_lock)
1725  When ((bio = next) != NULL) cycle
1726  next = bi_private
1728  bio_release_pages(bio, true)
1729  _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.