Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-cgroup.c Create Date:2022-07-28 17:40:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__blkcg_punt_bio_submit

Proto:bool __blkcg_punt_bio_submit(struct bio *bio)

Type:bool

Parameter:

TypeParameterName
struct bio *bio
1490  blkg = * Represents the association of the css and request_queue for the bio. * If a bio goes direct to device, it will not have a blkg as it will * not have a request_queue associated with it. The reference is put * on release of the bio.
1493  bottom bits req flags, * top bits REQ_OP. Use * accessors. &= ~REQ_CGROUP_PUNT
1496  If Not all non-root blkcg_gq's are guaranteed to have access to parent Then Return false
1499  spin_lock_bh( & async_bio_lock)
1500  bio_list_add( & async_bios, bio)
1501  spin_unlock_bh( & async_bio_lock)
1503  queue_work - queue work on a workqueue*@wq: workqueue to use*@work: work to queue* Returns %false if @work was already on a queue, %true otherwise.* We queue the work to the CPU on which it was submitted, but if the CPU dies
1504  Return true
Caller
NameDescribe
blkcg_punt_bio_submit