Function report |
Source Code:block\blk-merge.c |
Create Date:2022-07-28 17:06:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ll_merge_requests_fn
Proto:static int ll_merge_requests_fn(struct request_queue *q, struct request *req, struct request *next)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
struct request * | req | |
struct request * | next |
647 | If req_gap_back_merge(req, bio) Then Return 0 |
658 | If total_phys_segments > queue_max_segments(q) Then Return 0 |
661 | If (blk_integrity_merge_rq(q, req, next) == false) Then Return 0 |
665 | * Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed. = total_phys_segments |
666 | Return 1 |
Name | Describe |
---|---|
attempt_merge | For non-mq, this has to be called with the request spinlock acquired.* For mq with scheduling, the appropriate queue wide lock should be held. |
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 |