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>
Wed, 22 Jun 2022 17:31:22 +0000 (11:31 -0600)
commitd27a2c29167625faf08cd925f803b8e9487ee070
tree61cc5b0b3107d494269b317a204f67d215fc7084
parent3c429c3503ee365bbb9fa662d5d6d7c41befefe2
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