diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-10-03 16:39:36 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-03 16:39:36 -0600 |
commit | 9ea0e8a82a972e82672f382c25e37d76f989aed8 (patch) | |
tree | c398755bb55ef925f084046ae5d911257145c6cc /src | |
parent | 6bf626224e9f488e34e2e9ba47cd1890a38cf43a (diff) | |
download | liburing-9ea0e8a82a972e82672f382c25e37d76f989aed8.tar.gz liburing-9ea0e8a82a972e82672f382c25e37d76f989aed8.tar.bz2 |
Add test/file-register
Tests both existing functionality, but also the new sparse maps,
update/remove/add functionality.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/liburing/io_uring.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h index ea57526..4f532d9 100644 --- a/src/include/liburing/io_uring.h +++ b/src/include/liburing/io_uring.h @@ -150,5 +150,11 @@ struct io_uring_params { #define IORING_UNREGISTER_FILES 3 #define IORING_REGISTER_EVENTFD 4 #define IORING_UNREGISTER_EVENTFD 5 +#define IORING_REGISTER_FILES_UPDATE 6 + +struct io_uring_files_update { + __u32 offset; + __s32 *fds; +}; #endif |