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
279 *279 *
280 * IORING_RECVSEND_FIXED_BUF Use registered buffers, the index is stored in280 * IORING_RECVSEND_FIXED_BUF Use registered buffers, the index is stored in
281 * the buf_index field.281 * the buf_index field.
282 *
283 * IORING_RECVSEND_NOTIF_FLUSH Flush a notification after a successful
284 * successful. Only for zerocopy sends.
285 */282 */
286#define IORING_RECVSEND_POLL_FIRST (1U << 0)283#define IORING_RECVSEND_POLL_FIRST (1U << 0)
287#define IORING_RECV_MULTISHOT (1U << 1)284#define IORING_RECV_MULTISHOT (1U << 1)
288#define IORING_RECVSEND_FIXED_BUF (1U << 2)285#define IORING_RECVSEND_FIXED_BUF (1U << 2)
289#define IORING_RECVSEND_NOTIF_FLUSH (1U << 3)
290 286
291/*287/*
292 * accept flags stored in sqe->ioprio288 * accept flags stored in sqe->ioprio
@@ -474,10 +470,6 @@ enum { · 181 unmodified lines
474 /* register a range of fixed file slots for automatic slot allocation */470 /* register a range of fixed file slots for automatic slot allocation */
475 IORING_REGISTER_FILE_ALLOC_RANGE = 25,471 IORING_REGISTER_FILE_ALLOC_RANGE = 25,
476 472
477 /* zerocopy notification API */
478 IORING_REGISTER_NOTIFIERS = 26,
479 IORING_UNREGISTER_NOTIFIERS = 27,
480
481 /* this goes last */473 /* this goes last */
482 IORING_REGISTER_LAST474 IORING_REGISTER_LAST
483};475};