Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| struct throtl_grp * | tg | |
| bool | rw | |
| unsigned long | start |
| 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) |
| Name | Describe |
|---|---|
| start_parent_slice_with_credit |
| 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 |