History

io_uring/cancel: wire up IORING_ASYNC_CANCEL_OP for sync cancel

Allow usage of IORING_ASYNC_CANCEL_OP through the sync cancelation API as well.

Jens Axboe committed 3 years ago

Commit f77569d1 parent d7b8b072 files · +11 −4Browse files

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

Unified · Split

include/uapi/linux/io_uring.h+3−1
@@ -701,7 +701,9 @@ struct io_uring_sync_cancel_reg { · 700 unmodified lines
701 __s32 fd;701 __s32 fd;
702 __u32 flags;702 __u32 flags;
703 struct __kernel_timespec timeout;703 struct __kernel_timespec timeout;
704 __u64 pad[4];704 __u8 opcode;
705 __u8 pad[7];
706 __u64 pad2[3];
705};707};
706 708
707/*709/*

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