History

io_uring: add support for canceling timeout requests

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.

Jens Axboe committed 7 years ago

Commit 11365041 parent a41525a2 files · +92 −18Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/io_uring.h+1−0
@@ -64,6 +64,7 @@ struct io_uring_sqe { · 63 unmodified lines
64#define IORING_OP_SENDMSG 964#define IORING_OP_SENDMSG 9
65#define IORING_OP_RECVMSG 1065#define IORING_OP_RECVMSG 10
66#define IORING_OP_TIMEOUT 1166#define IORING_OP_TIMEOUT 11
67#define IORING_OP_TIMEOUT_REMOVE 12
67 68
68/*69/*
69 * sqe->fsync_flags70 * sqe->fsync_flags

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t