summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoah <goldstein.w.n@gmail.com>2021-01-26 14:41:21 -0500
committernoah <goldstein.w.n@gmail.com>2021-01-26 14:41:21 -0500
commit5821b03c901498a0d21988bd09dc597ebb7b5073 (patch)
treece1fc1c65cb110363247f92751ae9b160480773b
parent5aab363352afe4ac5918645c6af2e1cf2d467c05 (diff)
downloadliburing-5821b03c901498a0d21988bd09dc597ebb7b5073.tar.gz
liburing-5821b03c901498a0d21988bd09dc597ebb7b5073.tar.bz2
man/io_uring_register.2: Add documentation on IORING_REGISTER_FILES_SKIP
Add documentation for IORING_REGISTER_FILES_SKIP feature in IORING_REGISTER_FILES_UPDATE. Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
-rw-r--r--man/io_uring_register.27
1 files changed, 7 insertions, 0 deletions
diff --git a/man/io_uring_register.2 b/man/io_uring_register.2
index 225e461..6636b6e 100644
--- a/man/io_uring_register.2
+++ b/man/io_uring_register.2
@@ -144,6 +144,7 @@ This operation replaces existing files in the registered file set with new
ones, either turning a sparse entry (one where fd is equal to -1) into a
real one, removing an existing entry (new one is set to -1), or replacing
an existing entry with a new existing entry.
+
.I arg
must contain a pointer to a struct io_uring_files_update, which contains
an offset on which to start the update, and an array of file descriptors to
@@ -152,6 +153,12 @@ use for the update.
must contain the number of descriptors in the passed in array. Available
since 5.5.
+File descriptors can be skipped if they are set to
+.B IORING_REGISTER_FILES_SKIP.
+Skipping an fd will not touch the file assosiated with the previous
+fd at that index. Available since 5.12.
+
+
.TP
.B IORING_UNREGISTER_FILES
This operation requires no argument, and