Allow registration of an eventfd, which will trigger an event every time a completion event happens for this io_uring instance.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -136,5 +136,7 @@ struct io_uring_params { · 135 unmodified lines | ||
| 136 | 136 | #define IORING_UNREGISTER_BUFFERS 1 |
| 137 | 137 | #define IORING_REGISTER_FILES 2 |
| 138 | 138 | #define IORING_UNREGISTER_FILES 3 |
| 139 | +#define IORING_REGISTER_EVENTFD 4 | |
| 140 | +#define IORING_UNREGISTER_EVENTFD 5 | |
| 139 | 141 | |
| 140 | 142 | #endif |