io_uring: bump max direct descriptor count to 1M
authorJens Axboe <axboe@kernel.dk>
Mon, 9 May 2022 15:11:01 +0000 (09:11 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 May 2022 15:16:16 +0000 (09:16 -0600)
commit5dd977985f24052b6288e14d75dac4600ee69e0c
treeb62ee3b600f6cd0c55ca87e784a85fdf9ffc8a13
parentbd3bc9e99a916c26a5eb872fa1b938f19120a60f
io_uring: bump max direct descriptor count to 1M

We currently limit these to 32K, but since we're now backing the table
space with vmalloc when needed, there's no reason why we can't make it
bigger. The total space is limited by RLIMIT_NOFILE as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c