From 9688b4a00f14d1c519d52ad94763ce9af8e72614 Mon Sep 17 00:00:00 2001 From: Jeff Moyer Date: Fri, 25 Jan 2019 17:38:51 -0500 Subject: man: fixup description of fixed files I/O The man page suggests that IOSQE_FIXED_FILE must be specified for all sqes when the io_uring instance has files registered. This is not the case, so clear that up. Also fix a typo (few->new) while we're in there. Signed-off-by: Jeff Moyer Signed-off-by: Jens Axboe --- man/io_uring_enter.2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'man/io_uring_enter.2') diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2 index dc81fc4..7a3498d 100644 --- a/man/io_uring_enter.2 +++ b/man/io_uring_enter.2 @@ -146,13 +146,13 @@ The .I flags field is a bit mask. Currently, the only supported flag is .B IOSQE_FIXED_FILE. -This flag must be specified for io_uring instances that registered -files using the -.BR io_uring_register(2) -system call. When specified, +When this flag is specified, .I fd -contains an index into the files array registered with the io_uring -instance. +is an index into the files array registered with the io_uring instance (see the +.B IORING_REGISTER_FILES +section of the +.BR io_uring_register(2) +man page). .I ioprio specifies the I/O priority. See -- cgit v1.2.3