Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:57:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bfq_insert_request
Proto:static void bfq_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 |
5494 | bfqd = elevator_data |
5496 | bool idle_timer_disabled = false |
5503 | spin_lock_irq( & lock) |
5504 | If blk_mq_sched_try_insert_merge(q, rq) Then |
5505 | spin_unlock_irq( & lock) |
5506 | Return |
5509 | spin_unlock_irq( & lock) |
5513 | spin_lock_irq( & lock) |
5514 | bfqq = bfq_init_rq(rq) |
5515 | If Not bfqq || at_head || blk_rq_is_passthrough(rq) Then |
5520 | Else |
5529 | If rq_mergeable(rq) Then |
5530 | elv_rqhash_add(q, rq) |
5531 | If Not last_merge Then last_merge = rq |
5541 | cmd_flags = op and common flags |
5543 | spin_unlock_irq( & lock) |
Name | Describe |
---|---|
bfq_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 |