io_uring: add IORING_SETUP_SINGLE_ISSUER
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 16 Jun 2022 09:22:08 +0000 (10:22 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:13 +0000 (18:39 -0600)
commit97bbdc06a4446bc69d8ba71d722abae542a6b70c
treebaffdfeb97b0aedcd0a72095fd6538face7d5621
parent0ec6dca223195aca2f7df6e432c4205b5f63305b
io_uring: add IORING_SETUP_SINGLE_ISSUER

Add a new IORING_SETUP_SINGLE_ISSUER flag and the userspace visible part
of it, i.e. put limitations of submitters. Also, don't allow it together
with IOPOLL as we're not going to put it to good use.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/4bcc41ee467fdf04c8aab8baf6ce3ba21858c3d4.1655371007.git.asml.silence@gmail.com
Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h
io_uring/io_uring.c
io_uring/io_uring_types.h
io_uring/tctx.c
io_uring/tctx.h