io_uring: retain top 8bits of uring_cmd flags for kernel internal use
authorMing Lei <ming.lei@redhat.com>
Thu, 28 Sep 2023 12:43:24 +0000 (20:43 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 28 Sep 2023 13:31:41 +0000 (07:31 -0600)
commit528ce6781726e022bc5dc84034360e6e8f1b89bd
treed5ce523f21f89ab280f2371bbc745cdf8ea8bc52
parentf31ecf671ddc498f20219453395794ff2383e06b
io_uring: retain top 8bits of uring_cmd flags for kernel internal use

Retain top 8bits of uring_cmd flags for kernel internal use, so that we
can move IORING_URING_CMD_POLLED out of uapi header.

Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring.h
include/uapi/linux/io_uring.h
io_uring/io_uring.c
io_uring/uring_cmd.c