aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author李通洲 <carter.li@eoitek.com>2022-06-18 22:35:25 +0800
committer李通洲 <carter.li@eoitek.com>2022-06-18 22:38:15 +0800
commit57315cfe22fed1640ebc1fda1ff566ac75a70549 (patch)
tree11f9a9713a2bf7cb4716d9b8926c248c06fb7781
parent6cc371d3fe076bcad549dbc0e1a95da8fc8085f2 (diff)
downloadliburing-57315cfe22fed1640ebc1fda1ff566ac75a70549.tar.gz
man/io_uring_prep_cancel.3: clearify the synchronous manner
Signed-off-by: 李通洲 <carter.li@eoitek.com>
-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),