History

io_uring/notif: remove notif registration

We're going to remove the userspace exposed zerocopy notification API, remove notification registration.

Pavel Begunkov committed 4 years ago

Commit 57f33221 parent d9808ce5 files · +1 −103Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/io_uring.h+0−8
@@ -279,14 +279,10 @@ enum io_uring_op { · 278 unmodified lines
279279 *
280280 * IORING_RECVSEND_FIXED_BUF Use registered buffers, the index is stored in
281281 * the buf_index field.
282− *
283− * IORING_RECVSEND_NOTIF_FLUSH Flush a notification after a successful
284− * successful. Only for zerocopy sends.
285282 */
286283 #define IORING_RECVSEND_POLL_FIRST (1U << 0)
287284 #define IORING_RECV_MULTISHOT (1U << 1)
288285 #define IORING_RECVSEND_FIXED_BUF (1U << 2)
289−#define IORING_RECVSEND_NOTIF_FLUSH (1U << 3)
290286
291287 /*
292288 * accept flags stored in sqe->ioprio
@@ -474,10 +470,6 @@ enum { · 181 unmodified lines
474470 /* register a range of fixed file slots for automatic slot allocation */
475471 IORING_REGISTER_FILE_ALLOC_RANGE = 25,
476472
477− /* zerocopy notification API */
478− IORING_REGISTER_NOTIFIERS = 26,
479− IORING_UNREGISTER_NOTIFIERS = 27,
480−
481473 /* this goes last */
482474 IORING_REGISTER_LAST
483475 };