Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:throtl_start_new_slice_with_credit

Proto:static inline void throtl_start_new_slice_with_credit(struct throtl_grp *tg, bool rw, unsigned long start)

Type:void

Parameter:

TypeParameterName
struct throtl_grp *tg
boolrw
unsigned longstart
780  Number of bytes disptached in current slice [rw] = 0
781  Number of bio's dispatched in current slice [rw] = 0
789  If time_after_eq(start, When did we start a new slice [rw]) Then When did we start a new slice [rw] = start
792  slice_end[rw] = jiffies + throtl_slice
793  hrotl_log - log debug message via blktrace*@sq: the service_queue being reported*@fmt: printf format string*@args: printf args* The messages are prefixed with "throtl BLKG_NAME" if @sq belongs to a* throtl_grp; otherwise, just "throtl".( & this group's service queue , "[%c] new slice with credit start=%lu end=%lu jiffies=%lu", rw == generic data direction definitions ? 'R' : 'W', When did we start a new slice [rw], slice_end[rw], jiffies)
Caller
NameDescribe
start_parent_slice_with_credit