Skip to content

Commit

Permalink
Merge branch 'Update_Man_io_uring_submit' of https://github.com/CPest…
Browse files Browse the repository at this point in the history
…ka/liburing

* 'Update_Man_io_uring_submit' of https://github.com/CPestka/liburing:
  io_uring_submit: note specifics on return value for SQPOLL
  • Loading branch information
axboe committed Oct 12, 2023
2 parents 7056087 + a65565e commit 4b7a98c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion man/io_uring_submit.3
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ and prepares the SQE using one of the provided helpers, it can be submitted with
.SH RETURN VALUE
On success
.BR io_uring_submit (3)
returns the number of submitted submission queue entries. On failure it returns
returns the number of submitted submission queue entries, if SQPOLL is not used.
If SQPOLL is used, the return value may report a higher number of submitted
entries than actually submitted. If the the user requires accurate information
about how many submission queue entries have been successfully submitted, while
using SQPOLL, the user must fall back to repeatedly submitting a single submission
queue entry. On failure it returns
.BR -errno .
.SH NOTES
For any request that passes in data in a struct, that data must remain
Expand Down

0 comments on commit 4b7a98c

Please sign in to comment.