Function report |
Source Code:block\elevator.c |
Create Date:2022-07-28 16:57:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Attempt to do an insertion back merge. Only check for the case where* we can append 'rq' to an existing request, so we can throw 'rq' away* afterwards.* Returns true if we merged, false otherwise
Proto:bool elv_attempt_insert_merge(struct request_queue *q, struct request *rq)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
struct request * | rq |
361 | If blk_queue_nomerges(q) Then Return false |
367 | If last_merge && blk_attempt_req_merge(q, last_merge, rq) Then Return true |
370 | If blk_queue_noxmerges(q) Then Return false |
373 | ret = false |
377 | When 1 cycle |
379 | If Not __rq || Not blk_attempt_req_merge(q, __rq, rq) Then Break |
383 | ret = true |
387 | Return ret |
Name | Describe |
---|---|
blk_mq_sched_try_insert_merge |
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 |