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>
Thu, 21 Jul 2022 14:44:16 +0000 (08:44 -0600)
commit31d0a0e9c9c99376dd12ccc4cfe2d4ffd17ced95
treec6fdf8ab8c355398a5b894ed0fd4b953dea34aa8
parent389a427d10fc3ea0014e45ff06e6d84f8add625a
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