Skip to content

Commit

Permalink
man/io_uring_prep_cancel.3: add missing cancelation flags
Browse files Browse the repository at this point in the history
Most noticably IORING_ASYNC_CANCEL_OP was missing.

Link: #1287
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Nov 29, 2024
1 parent 25b3d2d commit bd8cae3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions man/io_uring_prep_cancel.3
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ a normal file descriptor. Available since 6.0.
.B IORING_ASYNC_CANCEL_ANY
Match any request in the ring, regardless of user_data or file descriptor.
Can be used to cancel any pending request in the ring. Available since 5.19.
.TP
.B IORING_ASYNC_CANCEL_USERDATA
Match request based on the user data field set in the original request. This
is the default lookup key, if no other key matching has been specified.
Available since 6.6.
.TP
.B IORING_ASYNC_CANCEL_OP
Use the original request opcode as the matching key. The opcopde requested
must be set in the sqe
.I len
field after using one of the generic cancel preparation helpers. Available
since 6.6.
.P

.SH RETURN VALUE
Expand Down

0 comments on commit bd8cae3

Please sign in to comment.