Function report |
Source Code:block\blk-iolatency.c |
Create Date:2022-07-28 17:45:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Change the queue depth of the iolatency_grp. We add/subtract 1/16th of the* queue depth at a time so we don't get wild swings and hopefully dial in to* fairer distribution of the overall queue depth.
Proto:static void scale_change(struct iolatency_grp *iolat, bool up)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct iolatency_grp * | iolat | |
bool | up |
367 | qd = Max # of requests |
368 | scale = scale_amount(qd, up) |
374 | If up Then |
375 | If old == 1 && blkcg_unuse_delay(lat_to_blkg(iolat)) Then Return |
384 | Else |
385 | old >>= 1 |
Name | Describe |
---|---|
check_scale_change | Check our parent and see if the scale cookie has changed. |
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 |