summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJeff Moyer <jmoyer@redhat.com>2019-11-07 16:18:57 -0500
committerJens Axboe <axboe@kernel.dk>2019-11-07 14:23:58 -0700
commit3cb6b1223ef2477fffdc49665100276367b8c7c2 (patch)
tree500b40c9efc730621612bc8f6df06fdf03376c2c /man
parent9186b340162eaf76d2828c1df9a01f9ce5758cab (diff)
downloadliburing-3cb6b1223ef2477fffdc49665100276367b8c7c2.tar.gz
liburing-3cb6b1223ef2477fffdc49665100276367b8c7c2.tar.bz2
document IORING_SETUP_CQSIZE
Add text in the io_uring_setup man page for the IORING_SETUP_CQSIZE option. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'man')
-rw-r--r--man/io_uring_setup.215
1 files changed, 13 insertions, 2 deletions
diff --git a/man/io_uring_setup.2 b/man/io_uring_setup.2
index 9ab0143..c6e3dec 100644
--- a/man/io_uring_setup.2
+++ b/man/io_uring_setup.2
@@ -131,6 +131,13 @@ field of the
This flag is only meaningful when
.B IORING_SETUP_SQPOLL
is specified.
+.TP
+.B IORING_SETUP_CQSIZE
+Create the completion queue with
+.IR "struct io_uring_params.cq_entries"
+entries. The value must be greater than
+.IR entries ,
+and may be rounded up to the next power-of-two.
.PP
If no flags are specified, the io_uring instance is setup for
interrupt driven I/O. I/O may be submitted using
@@ -300,11 +307,15 @@ params is outside your accessible address space.
The resv array contains non-zero data, p.flags contains an unsupported
flag,
.I entries
-is out of bounds, or
+is out of bounds,
.B IORING_SETUP_SQ_AFF
was specified, but
.B IORING_SETUP_SQPOLL
-was not.
+was not, or
+.B IORING_SETUP_CQSIZE
+was specified, but
+.I io_uring_params.cq_entries
+was invalid.
.TP
.B EMFILE
The per-process limit on the number of open file descriptors has been