man/io_uring_setup: mention that IORING_SETUP_SQPOLL needs fixed files

Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jens Axboe
2019-02-05 11:42:04 -07:00
parent 450033065f
commit 8471fb944d

View File

@@ -108,6 +108,15 @@ is a submission queue ring setup using the
.I struct io_sqring_offsets .I struct io_sqring_offsets
described below. described below.
.TP .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 .BR IORING_SETUP_SQ_AFF
If this flag is specified, then the poll thread will be bound to the If this flag is specified, then the poll thread will be bound to the
cpu set in the cpu set in the