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>
Fri, 17 Jun 2022 14:25:39 +0000 (08:25 -0600)
commit8806e5e758c6872c80d16643c0c70c339864fd2a
tree2ab508951ad6eea977674b53acd737fa1aeb5dbb
parent1439e968fb55069eb1c98031e3309771208d1a92
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