Function report |
Source Code:block\elevator.c |
Create Date:2022-07-28 16:57:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:elv_merge
Proto:enum elv_merge elv_merge(struct request_queue *q, struct request **req, struct bio *bio)
Type:enum elv_merge
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
struct request ** | req | |
struct bio * | bio |
316 | If blk_queue_nomerges(q) || Not bio_mergeable(bio) Then Return ELEVATOR_NO_MERGE |
322 | If last_merge && an we safely merge with this request? Then |
323 | ret = blk_try_merge(last_merge, bio) |
325 | If ret != ELEVATOR_NO_MERGE Then |
326 | req = last_merge |
327 | Return ret |
331 | If blk_queue_noxmerges(q) Then Return ELEVATOR_NO_MERGE |
338 | If __rq && an we safely merge with this request? Then |
340 | Return ELEVATOR_BACK_MERGE |
343 | If request_merge Then Return request_merge(q, req, bio) |
346 | Return ELEVATOR_NO_MERGE |
Name | Describe |
---|---|
blk_mq_sched_try_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 |