Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hrotl_qnode_add_bio - add a bio to a throtl_qnode and activate it*@bio: bio being added*@qn: qnode to add bio to*@queued: the service_queue->queued[] list @qn belongs to* Add @bio to @qn and put @qn on @queued if it's not already on.

Proto:static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, struct list_head *queued)

Type:void

Parameter:

TypeParameterName
struct bio *bio
struct throtl_qnode *qn
struct list_head *queued
413  bio_list_add( & queued bios , bio)
414  If list_empty - tests whether a list is empty*@head: the list to test. Then
415  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
416  lkg_get - get a blkg reference*@blkg: blkg to get* The caller should be holding an existing reference.
Caller
NameDescribe
throtl_add_bio_tghrotl_add_bio_tg - add a bio to the specified throtl_grp*@bio: bio to add*@qn: qnode to use*@tg: the target throtl_grp* Add @bio to @tg's service_queue using @qn. If @qn is not specified,
tg_dispatch_one_bio