Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blkg_async_bio_workfn

Proto:static void blkg_async_bio_workfn(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
121  blkg = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structblkcg_gq, async_bio_work)
123  bios = BIO_EMPTY_LIST
127  spin_lock_bh( & async_bio_lock)
128  bio_list_merge( & bios, & async_bios)
129  bio_list_init( & async_bios)
130  spin_unlock_bh( & async_bio_lock)
132  When bio = bio_list_pop( & bios) cycle
133  submit_bio - submit a bio to the block device layer for I/O*@bio: The &struct bio which describes the I/O* submit_bio() is very similar in purpose to generic_make_request(), and* uses that function to do most of the work. Both are fairly rough