| Function report | 
| Source Code: fs\io_uring.c | Create Date:2022-07-28 20:22:09 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Called if REQ_F_LINK is set, and we fail the head request
Proto:static void io_fail_links(struct io_kiocb *req)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct io_kiocb * | req | 
| 1029 | spin_lock_irqsave( & completion_lock, flags) | 
| 1038 | If flags & has linked timeout && opcode == IORING_OP_LINK_TIMEOUT Then | 
| 1040 | io_link_cancel_timeout(link) | 
| 1041 | Else | 
| 1042 | io_cqring_fill_event(link, - ECANCELED) | 
| 1043 | __io_double_put_req(link) | 
| 1045 | flags &= ~has linked timeout | 
| 1048 | io_commit_cqring(ctx) | 
| 1049 | spin_unlock_irqrestore( & completion_lock, flags) | 
| 1050 | io_cqring_ev_posted(ctx) | 
| Name | Describe | 
|---|---|
| io_req_find_next | 
| 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 |