Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hrotl_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

Proto:static bool throtl_schedule_next_dispatch(struct throtl_service_queue *sq, bool force)

Type:bool

Parameter:

TypeParameterName
struct throtl_service_queue *sq
boolforce
762  If Not # queued in the tree Then Return true
765  update_min_dispatch_time(sq)
768  If force || These inlines deal with timer wrapping correctly. You are * strongly encouraged to use them* 1. Because people otherwise forget* 2. Because if the timer wrap changes in future you won't have to* alter your driver code.( disptime of the first tg , jiffies) Then
769  Call with queue lock held
770  Return true
774  Return false
Caller
NameDescribe
throtl_pending_timer_fn
tg_conf_updated
throtl_upgrade_state
blk_throtl_bio