Pavel Begunkov
eebd2e37e6
io_uring: don't take task ring-file notes
...
With ->flush() gone we're now leaving all uring file notes until the
task dies/execs, so the ctx will not be freed until all tasks that have
ever submit a request die. It was nicer with flush but not much, we
could have locked as described ctx in many cases.
Now we guarantee that ctx outlives all tctx in a sense that
io_ring_exit_work() waits for all tctxs to drop their corresponding
enties in ->xa, and ctx won't go away until then. Hence, additional
io_uring file reference (a.k.a. task file notes) are not needed anymore.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-03-07 14:12:43 -07:00
..
2021-02-27 08:07:12 -08:00
2021-01-24 14:27:20 +01:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-01-24 14:27:20 +01:00
2020-09-18 16:45:50 -04:00
2021-01-24 14:27:20 +01:00
2021-03-05 12:21:14 -08:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-02-26 14:09:41 -08:00
2021-01-24 14:27:20 +01:00
2021-01-24 14:27:20 +01:00
2021-01-05 23:02:47 -05:00
2021-01-24 14:27:16 +01:00
2021-02-24 10:13:55 -08:00
2020-11-10 12:14:20 -06:00
2021-02-23 13:39:45 -08:00
2021-01-24 14:27:20 +01:00
2020-09-18 16:45:50 -04:00
2021-02-28 11:23:38 -08:00
2021-02-23 13:39:45 -08:00
2020-12-09 09:39:38 -05:00
2021-01-24 14:27:20 +01:00
2021-02-28 11:23:38 -08:00
2021-02-28 11:23:38 -08:00
2021-02-23 13:39:45 -08:00
2021-02-24 13:38:27 -08:00
2021-02-27 08:07:12 -08:00
2021-01-24 14:27:20 +01:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-01-24 14:27:20 +01:00
2021-02-24 13:38:35 -08:00
2021-02-28 11:45:25 -08:00
2021-02-03 19:05:52 +01:00
2021-01-27 09:51:48 -07:00
2021-02-23 13:39:45 -08:00
2021-02-27 08:07:12 -08:00
2021-02-23 13:39:45 -08:00
2021-01-25 09:36:23 -05:00
2021-01-24 14:27:20 +01:00
2021-02-28 11:23:38 -08:00
2021-01-28 10:55:37 -05:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-02-24 13:38:26 -08:00
2021-02-24 13:38:26 -08:00
2021-01-24 14:27:20 +01:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-02-27 08:29:02 -08:00
2021-03-05 17:21:25 -08:00
2020-09-18 16:45:50 -04:00
2020-09-18 16:45:50 -04:00
2021-01-05 14:42:18 +01:00
2021-02-24 13:38:26 -08:00
2021-02-23 13:39:45 -08:00
2020-10-24 12:26:05 -07:00
2021-02-09 17:26:44 -08:00
2021-01-12 14:26:31 +01:00
2021-01-24 14:27:20 +01:00
2021-01-24 14:27:20 +01:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-01-24 14:27:20 +01:00
2020-09-10 14:03:31 -07:00
2021-01-24 14:27:20 +01:00
2021-02-23 13:39:45 -08:00
2021-02-28 11:45:25 -08:00
2021-02-23 13:39:45 -08:00
2020-12-15 12:53:37 -08:00
2021-01-15 12:17:25 -05:00
2021-01-24 14:27:20 +01:00
2021-01-24 14:27:20 +01:00
2021-02-21 13:20:41 -08:00
2021-02-21 13:20:41 -08:00
2020-08-24 08:49:13 +10:00
2021-02-15 18:28:30 +01:00
2021-02-28 11:23:38 -08:00
2021-02-24 13:38:30 -08:00
2021-01-06 08:42:51 -05:00
2021-02-26 09:41:05 -08:00
2020-10-14 14:54:45 -07:00
2021-02-09 07:05:44 -05:00
2021-02-24 13:38:26 -08:00
2021-02-28 11:23:38 -08:00
2020-11-15 09:49:10 -05:00
2021-02-16 09:59:41 +01:00
2021-02-24 13:38:26 -08:00
2021-02-23 13:39:45 -08:00
2021-02-24 13:38:26 -08:00
2020-10-25 20:02:08 -04:00
2021-02-01 10:02:42 -07:00
2020-08-23 17:36:59 -05:00
2020-10-13 18:38:27 -07:00
2021-01-13 17:26:50 +01:00
2020-08-23 17:36:59 -05:00
2021-01-24 14:27:19 +01:00
2021-02-27 08:07:12 -08:00
2021-02-23 13:39:45 -08:00
2021-03-07 14:12:43 -07:00
2021-03-06 10:57:01 -07:00
2021-03-06 10:57:01 -07:00
2021-02-21 10:22:20 -08:00
2021-02-21 09:29:23 -08:00
2020-10-05 13:37:04 +02:00
2021-02-23 13:39:45 -08:00
2020-12-15 19:29:43 -08:00
2021-01-29 10:06:46 +05:30
2021-01-24 14:29:34 +01:00
2021-02-26 15:49:51 -07:00
2021-02-23 13:39:45 -08:00
2021-02-27 08:07:12 -08:00
2021-02-23 13:39:45 -08:00
2021-02-24 13:38:26 -08:00
2020-12-10 17:33:17 -05:00
2021-01-24 14:27:20 +01:00
2021-01-24 14:43:45 +01:00
2021-01-25 23:29:36 -05:00
2021-01-24 14:27:19 +01:00
2021-01-08 11:06:29 -08:00
2021-01-21 14:06:00 -07:00
2020-08-23 17:36:59 -05:00
2021-02-21 11:02:48 -08:00
2021-01-24 14:27:20 +01:00
2021-02-13 17:17:53 +01:00
2021-02-22 10:57:46 -08:00
2021-01-14 17:40:57 -05:00
2021-01-24 14:27:18 +01:00
2021-01-24 14:27:17 +01:00