diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-01-30 10:05:23 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-01-30 10:05:23 -0700 |
commit | 9f61a0bd6789ae6218d2e9e472abaee45f4ca829 (patch) | |
tree | 0904b643693ed8a99efb84b0f88727bfcc025208 /man | |
parent | 1d69a67896ca100eefd91ee1e8bc4b01e16e5138 (diff) | |
download | liburing-9f61a0bd6789ae6218d2e9e472abaee45f4ca829.tar.gz liburing-9f61a0bd6789ae6218d2e9e472abaee45f4ca829.tar.bz2 |
man/io_uring_enter.2: add fadvise/madvise
Also fix a few typos.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'man')
-rw-r--r-- | man/io_uring_enter.2 | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2 index fa4b476..248dc82 100644 --- a/man/io_uring_enter.2 +++ b/man/io_uring_enter.2 @@ -310,7 +310,7 @@ system call. .I fd must be set to the socket file descriptor, .I addr -must contains the pointer to the sockaddr structure, and +must contain the pointer to the sockaddr structure, and .I addr2 must contain a pointer to the socklen_t addrlen field. See also .BR accept4(2) @@ -366,7 +366,7 @@ system call. .I fd must be set to the socket file descriptor, .I addr -must contains the pointer to the sockaddr structure, and +must contain the pointer to the sockaddr structure, and .I off must contain the socklen_t addrlen field. See also .BR connect(2) @@ -382,11 +382,42 @@ must be set to the file descriptor, .I off must contain the offset on which to operate, and .I len -must the length. See also +must contain the length. See also .BR fallocate(2) for the general description of the related system call. Available since 5.6. .TP +.B IORING_OP_FADVISE +Issue the equivalent of a +.BR posix_fallocate(2) +system call. +.I fd +must be set to the file descriptor, +.I off +must contain the offset on which to operate, +.I len +must contain the length, and +.I fadvise_advice +must contain the advice associated with the operation. See also +.BR posix_fadvise(2) +for the general description of the related system call. Available since 5.6. + +.TP +.B IORING_OP_MADVISE +Issue the equivalent of a +.BR madvise(2) +system call. +.I addr +must contain the address to operate on, +.I len +must contain the length on which to operate, +and +.I fadvise_advice +must contain the advice associated with the operation. See also +.BR madvise(2) +for the general description of the related system call. Available since 5.6. + +.TP .B IORING_OP_OPENAT Issue the equivalent of a .BR openat(2) |