Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Dispatch all bios from all children tg's queued on @parent_sq. On* return, @parent_sq is guaranteed to not have any active children tg's* and all bios from previously active tg's are on @parent_sq->bio_lists[].

Proto:static void tg_drain_bios(struct throtl_service_queue *parent_sq)

Type:void

Parameter:

TypeParameterName
struct throtl_service_queue *parent_sq
2370  When tg = throtl_rb_first(parent_sq) cycle
2371  sq = this group's service queue
2374  throtl_dequeue_tg(tg)
2376  When bio = hrotl_peek_queued - peek the first bio on a qnode list*@queued: the qnode list to peek cycle
2377  tg_dispatch_one_bio(tg, Return the data direction, READ or WRITE.(bio))
2378  When bio = hrotl_peek_queued - peek the first bio on a qnode list*@queued: the qnode list to peek cycle
2379  tg_dispatch_one_bio(tg, Return the data direction, READ or WRITE.(bio))
Caller
NameDescribe
blk_throtl_drainlk_throtl_drain - drain throttled bios*@q: request_queue to drain throttled bios for* Dispatch all currently throttled bios on @q through ->make_request_fn().