summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-09-24 14:32:25 -0600
committerJens Axboe <axboe@kernel.dk>2021-09-24 14:32:25 -0600
commit0f289c978846862ad4dec29de415e144c5cb05f9 (patch)
tree81e9d09f3624710bf21f0ca014c79e44785b759c
parent1a1ae01c147cb7da604c1d4eebdca41d7adc3959 (diff)
downloadliburing-0f289c978846862ad4dec29de415e144c5cb05f9.tar.gz
liburing-0f289c978846862ad4dec29de415e144c5cb05f9.tar.bz2
man/io_uring_enter.2: add direct close description
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--man/io_uring_enter.212
1 files changed, 12 insertions, 0 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index 73c4959..93b97e6 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -717,6 +717,18 @@ system call.
is the file descriptor to be closed. See also
.BR close(2)
for the general description of the related system call. Available since 5.6.
+If the
+.I file_index
+field is set to a positive number, this command can be used to close files
+that were direct opened through
+.B IORING_OP_OPENAT
+,
+.B IORING_OP_OPENAT2
+, or
+.B IORING_OP_ACCEPT
+using the io_uring specific direct descriptors. Note that only one of the
+descriptor fields may be set. The direct close feature is available since
+the 5.15 kernel, where direct descriptors were introduced.
.TP
.B IORING_OP_STATX