Files
linux-stable-mirror/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
2020-05-24 20:48:11 +02:00
2022-05-20 15:29:00 -07:00
2018-06-15 18:10:01 -03:00
2022-04-22 12:32:03 +02:00
2021-01-21 14:06:00 -07:00
2018-03-26 15:09:38 +02:00
2022-03-15 10:32:44 +01:00
2021-12-10 17:10:55 -08:00
2022-06-28 10:37:25 -03:00
2021-08-26 15:32:28 -04:00
2021-07-27 11:00:36 +02:00
2021-04-12 15:04:23 +02:00
2022-06-03 06:52:57 -07:00
2020-11-16 16:31:41 +01:00
2022-05-13 07:20:18 -07:00
2019-02-15 16:54:38 +01:00
2022-01-20 08:52:54 +02:00
2021-07-27 20:11:45 +01:00
2021-08-05 11:46:42 +01:00
2020-08-04 21:02:38 -04:00
2022-02-28 23:26:27 -08:00
2022-02-14 15:43:15 +01:00
2019-12-11 09:12:38 +01:00
2022-03-18 09:47:04 +01:00
2021-01-21 16:16:10 +00:00
2022-06-06 09:52:17 +09:00
2020-05-28 10:31:09 +02:00
2022-04-21 07:36:56 -04:00
2022-05-13 07:20:17 -07:00
2022-04-28 16:31:10 +02:00
2022-04-01 14:40:44 -04:00
2019-02-08 15:02:49 -08:00
2022-01-12 10:14:09 -06:00
2020-07-01 10:49:02 +02:00
2021-11-16 19:07:53 -08:00
2021-09-27 09:27:29 -04:00
2021-02-03 19:05:50 +01:00
2017-11-09 10:23:28 +01:00
2021-06-07 14:11:47 -07:00
2021-11-18 09:36:39 +01:00
2022-03-08 14:33:36 -06:00
2022-03-17 20:16:29 -07:00
2021-03-18 12:58:27 -04:00
2022-05-22 21:03:01 +01:00
2022-02-24 15:04:51 +00:00
2018-07-07 17:25:23 +02:00
2020-12-10 10:45:36 +01:00
2021-08-06 13:41:48 -07:00
2021-08-19 09:02:55 +09:00
2021-06-24 15:49:32 +02:00
2022-02-25 09:36:06 +01:00
2018-10-11 09:16:44 -07:00
2021-10-12 11:41:39 -03:00
2021-01-21 16:16:10 +00:00
2022-05-31 12:45:10 -04:00
2022-06-13 09:54:52 -07:00
2021-02-09 12:15:07 +01:00
2021-01-21 14:06:00 -07:00
2019-05-15 17:35:54 +01:00
2021-01-24 14:27:17 +01:00