diff options
| author | Jens Axboe <[email protected]> | 2023-06-22 13:03:52 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-07-17 10:05:48 -0600 |
| commit | f77569d22ad91dc25de294864fa5b24d37ddc149 (patch) | |
| tree | 6cc781b0a3c8255d18c52a657c4d2e5cc38c1e6b /include/uapi/linux | |
| parent | d7b8b079a8f6bc007d06d9ee468659dae6053e13 (diff) | |
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.
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/io_uring.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h index b64ddd41468e..36f9c73082de 100644 --- a/include/uapi/linux/io_uring.h +++ b/include/uapi/linux/io_uring.h @@ -701,7 +701,9 @@ struct io_uring_sync_cancel_reg { __s32 fd; __u32 flags; struct __kernel_timespec timeout; - __u64 pad[4]; + __u8 opcode; + __u8 pad[7]; + __u64 pad2[3]; }; /* |