Function report |
Source Code:block\blk-merge.c |
Create Date:2022-07-28 17:06:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_attempt_req_merge
Proto:int blk_attempt_req_merge(struct request_queue *q, struct request *rq, struct request *next)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q | |
| struct request * | rq | |
| struct request * | next |
| 859 | free = 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. |
| 860 | If free Then |
| 861 | blk_put_request(free) |
| 862 | Return 1 |
| 865 | Return 0 |
| Name | Describe |
|---|---|
| elv_attempt_insert_merge | 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 |
| 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 |