On Mon, 7 Nov 2022 04:33:49 -0800, Dylan Yudaken wrote: > Running task work when not needed can unnecessarily delay > operations. Specifically IORING_SETUP_DEFER_TASKRUN tries to avoid running > task work until the user requests it. Therefore do not run it in > io_uring_register any more. > > The one catch is that io_rsrc_ref_quiesce expects it to have run in order > to process all outstanding references, and so reorder it's loop to do this. > > [...] Applied, thanks! [1/1] io_uring: do not always force run task_work in io_uring_register commit: 462f399f87496aa71968ed863994f0db5b170ea3 Best regards, -- Jens Axboe