mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-07-20 22:58:41 -04:00
update io_uring_enter.2 docs for IORING_FEAT_NODROP
The EBUSY docs are out of date, so update them for the IORING_FEAT_NODROP feature flag Signed-off-by: Dylan Yudaken <dylany@fb.com> Tested-by: Ammar Faizi <ammarfaizi2@gnuweeb.org> # Build Link: https://lore.kernel.org/r/20220905132258.1858915-8-dylany@fb.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
committed by
Jens Axboe
parent
0689e82366
commit
abeb2c28c3
+12
-1
@@ -1330,7 +1330,18 @@ is a valid file descriptor, but the io_uring ring is not in the right state
|
||||
for details on how to enable the ring.
|
||||
.TP
|
||||
.B EBUSY
|
||||
The application is attempting to overcommit the number of requests it can have
|
||||
If the
|
||||
.B IORING_FEAT_NODROP
|
||||
feature flag is set, then
|
||||
.B EBUSY
|
||||
will be returned if there were overflow entries,
|
||||
.B IORING_ENTER_GETEVENTS
|
||||
flag is set and not all of the overflow entries were able to be flushed to
|
||||
the CQ ring.
|
||||
|
||||
Without
|
||||
.B IORING_FEAT_NODROP
|
||||
the application is attempting to overcommit the number of requests it can have
|
||||
pending. The application should wait for some completions and try again. May
|
||||
occur if the application tries to queue more requests than we have room for in
|
||||
the CQ ring, or if the application attempts to wait for more events without
|
||||
|
||||
Reference in New Issue
Block a user