]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add basic fixed file allocator
authorJens Axboe <axboe@kernel.dk>
Sat, 7 May 2022 20:20:40 +0000 (14:20 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 May 2022 12:28:40 +0000 (06:28 -0600)
commitd15066cbbee340d9bc9da4b08be779fc932ea547
tree80e856b9353720c33624fbcaa09ab1143d4e21d3
parent2724b354f9e1d7ae0435ed6bddded22c21cf0fda
io_uring: add basic fixed file allocator

Applications currently always pick where they want fixed files to go.
In preparation for allowing these types of commands with multishot
support, add a basic allocator in the fixed file table.

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