函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:update_min_dispatch_time

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

返回类型:void

参数:

类型参数名称
struct throtl_service_queue *parent_sq
662  tg等于throtl_rb_first(parent_sq)
663  如果非tg则返回
666  disptime of the first tg 等于* Dispatch time in jiffies. This is the estimated time when group * will unthrottle and is ready to dispatch more bio. It is used as * key to sort active groups in service tree.
调用者
名称描述
throtl_schedule_next_dispatchhrotl_schedule_next_dispatch - schedule the next dispatch cycle*@sq: the service_queue to schedule dispatch for*@force: force scheduling* Arm @sq->pending_timer so that the next dispatch cycle starts on the* dispatch time of the first pending child