From 8471fb944da2a3b1a9e576d61875e430f65a1cd7 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 5 Feb 2019 11:42:04 -0700 Subject: man/io_uring_setup: mention that IORING_SETUP_SQPOLL needs fixed files Signed-off-by: Jens Axboe --- man/io_uring_setup.2 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man') 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 -- cgit