| Function report | 
| Source Code: block\mq-deadline.c | Create Date:2022-07-28 17:50:41 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:add rq to rbtree and fifo
Proto:static void dd_insert_request(struct blk_mq_hw_ctx *hctx, struct request *rq, bool at_head)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct blk_mq_hw_ctx * | hctx | |
| struct request * | rq | |
| bool | at_head | 
| 487 | dd = elevator_data | 
| 488 | data_dir = rq_data_dir(rq) | 
| 496 | If blk_mq_sched_try_insert_merge(q, rq) Then Return | 
| 501 | If at_head || blk_rq_is_passthrough(rq) Then | 
| 506 | Else | 
| 507 | deadline_add_rq_rb(dd, rq) | 
| 509 | If rq_mergeable(rq) Then | 
| 510 | elv_rqhash_add(q, rq) | 
| 511 | If Not last_merge Then last_merge = rq | 
| Name | Describe | 
|---|---|
| dd_insert_requests | 
| 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 |