函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-throttle.c Create Date:2022-07-27 19:20:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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[].

函数原型:static void tg_drain_bios(struct throtl_service_queue *parent_sq)

返回类型:void

参数:

类型参数名称
struct throtl_service_queue *parent_sq
2370 tg等于throtl_rb_first(parent_sq)循环
2371  sq等于 this group's service queue
2374  throtl_dequeue_tg(tg)
2376 bio等于hrotl_peek_queued - peek the first bio on a qnode list*@queued: the qnode list to peek循环
2377  tg_dispatch_one_bio(tg, Return the data direction, READ or WRITE.(bio))
2378 bio等于hrotl_peek_queued - peek the first bio on a qnode list*@queued: the qnode list to peek循环
2379  tg_dispatch_one_bio(tg, Return the data direction, READ or WRITE.(bio))
调用者
名称描述
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().