Function report |
Source Code:block\blk-throttle.c |
Create Date:2022-07-28 17:41:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hrotl_peek_queued - peek the first bio on a qnode list*@queued: the qnode list to peek
Proto:static struct bio *throtl_peek_queued(struct list_head *queued)
Type:struct bio
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct list_head * | queued |
| 429 | If list_empty - tests whether a list is empty*@head: the list to test. Then Return NULL |
| 432 | bio = bio_list_peek( & queued bios ) |
| 433 | WARN_ON_ONCE(!bio) |
| 434 | Return bio |
| 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_update_disptime | |
| throtl_dispatch_tg | |
| tg_drain_bios | Dispatch all bios from all children tg's queued on @parent_sq. On* return, @parent_sq is guaranteed to not have any active children tg's* and all bios from previously active tg's are on @parent_sq->bio_lists[]. |
| 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 |