man: note about notification generation

Add a small note to clarify expectations on when to expect a
notification.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/4ae18336994f973d2e5e111479844c79547d7922.1663759148.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Pavel Begunkov
2022-09-21 12:21:57 +01:00
committed by Jens Axboe
parent 4b3c9826c0
commit a35ff2236e
+4 -1
View File
@@ -1091,7 +1091,10 @@ long time, e.g. waiting for a TCP ACK, and having a separate cqe for request
completions allows userspace to push more data without extra delays. Note,
notifications are only responsible for controlling the lifetime of the buffers,
and as such don't mean anything about whether the data has atually been sent
out or received by the other end.
out or received by the other end. Even errored requests may generate a
notification, and the user must check for
.B IORING_CQE_F_MORE
rather than relying on the result.
.I fd
must be set to the socket file descriptor,