]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Fri, 13 May 2022 12:28:46 +0000 (06:28 -0600)
commit6b8e7da3c180c997e1e710fc165f441e96c3719a
treed1e536d47db4bd2b9a2dd3a4f0357a59762a736f
parent606d786148317a19d376de39ca247afa3d0e2c80
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.

Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c