summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-02-05 11:42:04 -0700
committerJens Axboe <axboe@kernel.dk>2019-02-05 11:42:04 -0700
commit8471fb944da2a3b1a9e576d61875e430f65a1cd7 (patch)
tree5a5a71917a73a093359998aa74fb09a771b4d5d0
parent450033065f991497b1fc423c3402d0d9fef432f3 (diff)
man/io_uring_setup: mention that IORING_SETUP_SQPOLL needs fixed files
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--man/io_uring_setup.29
1 files changed, 9 insertions, 0 deletions
diff --git a/man/io_uring_setup.2 b/man/io_uring_setup.2
index bf249e7..a2f4350 100644
--- a/man/io_uring_setup.2
+++ b/man/io_uring_setup.2
@@ -108,6 +108,15 @@ is a submission queue ring setup using the
.I struct io_sqring_offsets
described below.
.TP
+.BR
+To successfully use this feature, the application must register a set of files
+to be used for IO through
+.B io_uring_register(2)
+using the
+.B IORING_REGISTER_FILES
+opcode. Failure to do so will result in submitted IO being errored with
+.B EBADF.
+.TP
.BR IORING_SETUP_SQ_AFF
If this flag is specified, then the poll thread will be bound to the
cpu set in the