io_uring: change the poll type to be 32-bits
authorJiufei Xue <jiufei.xue@linux.alibaba.com>
Wed, 17 Jun 2020 09:53:55 +0000 (17:53 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Jun 2020 02:44:00 +0000 (20:44 -0600)
commit5769a351b89cd4d82016f18fa5f6c4077403564d
tree2f700e8e397716e725661515f65ef9f146e4db5c
parent48778464bb7d346b47157d21ffde2af6b2d39110
io_uring: change the poll type to be 32-bits

poll events should be 32-bits to cover EPOLLEXCLUSIVE.

Explicit word-swap the poll32_events for big endian to make sure the ABI
is not changed.  We call this feature IORING_FEAT_POLL_32BITS,
applications who want to use EPOLLEXCLUSIVE should check the feature bit
first.

Signed-off-by: Jiufei Xue <jiufei.xue@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h
tools/io_uring/liburing.h