mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
io_uring: support for larger fixed file sets
There's been a few requests for supporting more fixed files than 1024. This isn't really tricky to do, we just need to split up the file table into multiple tables and index appropriately. As we do so, reduce the max single file table to 512. This enables us to do single page allocs always for the tables, which is an improvement over the situation prior. This patch adds support for up to 64K files, which should be enough for everyone. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
b7620121dc
commit
65e19f54d2
1 changed files with 117 additions and 33 deletions
150
fs/io_uring.c
150
fs/io_uring.c
Loading…
Add table
Add a link
Reference in a new issue