We might have cases where the need for a specific timeout is gone, add support for canceling an existing timeout operation. This works like the POLL_REMOVE command, where the application passes in the user_data of the timeout it wishes to cancel in the sqe->addr field.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -64,6 +64,7 @@ struct io_uring_sqe { · 63 unmodified lines | |||
| 64 | #define IORING_OP_SENDMSG 9 | 64 | #define IORING_OP_SENDMSG 9 |
| 65 | #define IORING_OP_RECVMSG 10 | 65 | #define IORING_OP_RECVMSG 10 |
| 66 | #define IORING_OP_TIMEOUT 11 | 66 | #define IORING_OP_TIMEOUT 11 |
| 67 | #define IORING_OP_TIMEOUT_REMOVE 12 | ||
| 67 | 68 | ||
| 68 | /* | 69 | /* |
| 69 | * sqe->fsync_flags | 70 | * sqe->fsync_flags |