Function report |
Source Code:block\blk-iolatency.c |
Create Date:2022-07-28 17:45:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rn 1 for enabling iolatency, return -1 for disabling iolatency, otherwise* return 0.
Proto:static int iolatency_set_min_lat_nsec(struct blkcg_gq *blkg, u64 val)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct blkcg_gq * | blkg | |
u64 | val |
752 | iolat = blkg_to_lat(blkg) |
753 | oldval = min_lat_nsec |
755 | min_lat_nsec = val |
756 | cur_win_nsec = max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, val << 4, BLKIOLATENCY_MIN_WIN_SIZE) |
757 | cur_win_nsec = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, cur_win_nsec, BLKIOLATENCY_MAX_WIN_SIZE) |
763 | blkcg_clear_delay(blkg) |
764 | Return -1 |
766 | Return 0 |
Name | Describe |
---|---|
iolatency_set_limit | |
iolatency_pd_offline |
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 |