Files
linux/io_uring
Pavel Begunkov 7d481e0356 io_uring/rsrc: fix DEFER_TASKRUN rsrc quiesce
For io_rsrc_ref_quiesce() to progress it should execute all task_work
items, including deferred ones. However, currently nobody would wake us,
and so let's set ctx->cq_wait_nr, so io_req_local_work_add() would wake
us up.

Fixes: c0e0d6ba25 ("io_uring: add IORING_SETUP_DEFER_TASKRUN")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f1a90d1bc5ebf096475b018fed52e54f3b89d4af.1681395792.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-04-15 14:44:57 -06:00
..
2023-04-15 14:44:57 -06:00
2023-04-12 12:09:41 -06:00
2023-04-03 07:16:15 -06:00
2022-12-07 06:47:13 -07:00
2022-07-24 18:39:11 -06:00
2023-01-29 15:17:41 -07:00
2023-04-03 07:16:15 -06:00
2022-07-24 18:39:14 -06:00
2023-04-15 14:44:57 -06:00
2023-04-06 16:23:28 -06:00