diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-04-11 20:45:41 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-02 23:08:54 +0300 |
commit | 9b402849e80c85eee10bbd341aab3f1a0f942d4f (patch) | |
tree | a4b43d48fad87c7e3f8996729e501f02d6c5a5cf /include/uapi/linux/io_uring.h | |
parent | 5d17b4a4b7fa172b205be8a05051ae705d1dc3bb (diff) | |
download | linux-9b402849e80c85eee10bbd341aab3f1a0f942d4f.tar.xz |
io_uring: add support for eventfd notifications
Allow registration of an eventfd, which will trigger an event every
time a completion event happens for this io_uring instance.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux/io_uring.h')
-rw-r--r-- | include/uapi/linux/io_uring.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h index e707a17c6908..a0c460025036 100644 --- a/include/uapi/linux/io_uring.h +++ b/include/uapi/linux/io_uring.h @@ -136,5 +136,7 @@ struct io_uring_params { #define IORING_UNREGISTER_BUFFERS 1 #define IORING_REGISTER_FILES 2 #define IORING_UNREGISTER_FILES 3 +#define IORING_REGISTER_EVENTFD 4 +#define IORING_UNREGISTER_EVENTFD 5 #endif |