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>
Wed, 22 Jun 2022 17:31:22 +0000 (11:31 -0600)
commit6d0f10eb57b5ddfa8a59480176880f212ab97c57
tree6936faf000054967a0b658f3ced6ce4ff59c0edb
parentf385054166442704671e7ddbe72eded374bca3d2
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