Function report |
Source Code:block\blk-throttle.c |
Create Date:2022-07-28 17:42:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:throtl_start_new_slice
Proto:static inline void throtl_start_new_slice(struct throtl_grp *tg, bool rw)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct throtl_grp * | tg | |
bool | rw |
803 | When did we start a new slice [rw] = jiffies |
804 | slice_end[rw] = jiffies + throtl_slice |
805 | 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 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) |
Name | Describe |
---|---|
tg_may_dispatch | Returns whether one can dispatch a bio or not. Also returns approx number* of jiffies to wait before this bio is with-in IO rate and can be dispatched |
tg_conf_updated |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |