aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-18 08:48:10 -0600
committerJens Axboe <axboe@kernel.dk>2022-06-18 08:48:10 -0600
commit06e8cf2e7c8391826457a29da92771f184d8c514 (patch)
tree11f9a9713a2bf7cb4716d9b8926c248c06fb7781
parent6cc371d3fe076bcad549dbc0e1a95da8fc8085f2 (diff)
parent57315cfe22fed1640ebc1fda1ff566ac75a70549 (diff)
downloadliburing-06e8cf2e7c8391826457a29da92771f184d8c514.tar.gz
Merge branch 'master' of https://github.com/CarterLi/liburing
* 'master' of https://github.com/CarterLi/liburing: man/io_uring_prep_cancel.3: clearify the synchronous manner
-rw-r--r--man/io_uring_prep_cancel.36
1 files changed, 6 insertions, 0 deletions
diff --git a/man/io_uring_prep_cancel.3 b/man/io_uring_prep_cancel.3
index 89c58c7..3201445 100644
--- a/man/io_uring_prep_cancel.3
+++ b/man/io_uring_prep_cancel.3
@@ -104,6 +104,12 @@ The execution state of the request has progressed far enough that cancelation
is no longer possible. This should normally mean that it will complete shortly,
either successfully, or interrupted due to the cancelation.
+.SH NOTES
+
+Although the cancelation request uses async request syntax, the kernel part isn't async at all. It is guaranteed that a CQE is always generated by the time the cancel request has been submitted. If the cancelation is succeed, the request targeted for cancelation will have been posted by the time submission returns. For
+.B -EALREADY
+it may take a bit of time to do so.
+
.SH SEE ALSO
.BR io_uring_prep_poll_remove (3),
.BR io_uring_get_sqe (3),