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>
Thu, 21 Jul 2022 14:44:16 +0000 (08:44 -0600)
commit394462e7adc84e0fe8744e84976e251668f52090
treeb14b0138a50b6a7a6f180920b63d636ad5c2efe6
parent05b696820f1ba13446e36cc17b8af85b500a6c3c
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