io_uring: introduce a struct for hash table
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 16 Jun 2022 09:22:10 +0000 (10:22 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 17 Jun 2022 14:25:39 +0000 (08:25 -0600)
commitfbb32f2a5ba0af0823af2c0bc61833ea13fffebe
tree26feb2f87ef9d2dff3115a9d9ff8993f8c234553
parent0c0cf2fe90f0ad604d862f3ad31ee5ea0a85f230
io_uring: introduce a struct for hash table

Instead of passing around a pointer to hash buckets, add a bit of type
safety and wrap it into a structure.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/d65bc3faba537ec2aca9eabf334394936d44bd28.1655371007.git.asml.silence@gmail.com
Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/cancel.c
io_uring/cancel.h
io_uring/fdinfo.c
io_uring/io_uring.c
io_uring/io_uring_types.h
io_uring/poll.c