Files
kernel/include/linux
Pavel Begunkov 6e73dffbb9 io_uring: let to set a range for file slot allocation
From recently io_uring provides an option to allocate a file index for
operation registering fixed files. However, it's utterly unusable with
mixed approaches when for a part of files the userspace knows better
where to place it, as it may race and users don't have any sane way to
pick a slot and hoping it will not be taken.

Let the userspace to register a range of fixed file slots in which the
auto-allocation happens. The use case is splittting the fixed table in
two parts, where on of them is used for auto-allocation and another for
slot-specified operations.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/66ab0394e436f38437cf7c44676e1920d09687ad.1656154403.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-07-24 18:39:16 -06:00
..
2022-05-10 16:03:52 +08:00
2022-05-22 20:44:29 +01:00
2022-06-08 14:04:14 -04:00
2022-05-20 15:29:00 -07:00
2022-05-16 13:37:59 -07:00
2022-06-28 10:37:25 -03:00
2022-06-03 06:52:57 -07:00
2022-05-13 07:20:18 -07:00
2022-05-02 14:06:20 -06:00
2022-06-06 09:52:17 +09:00
2022-05-03 16:09:03 -04:00
2022-05-19 14:08:53 -07:00
2022-05-13 07:20:17 -07:00
2022-05-12 10:29:41 -07:00
2022-05-17 13:32:46 -04:00
2022-06-10 11:29:48 +02:00
2022-05-22 21:03:01 +01:00
2022-06-02 10:15:05 -07:00
2022-05-08 01:33:08 -07:00
2022-05-24 08:41:18 -06:00
2022-05-31 12:45:10 -04:00
2022-06-13 09:54:52 -07:00