Skip to content
Commit 4a38aed2 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: batch reap of dead file registrations



We currently embed and queue a work item per fixed_file_ref_node that
we update, but if the workload does a lot of these, then the associated
kworker-events overhead can become quite noticeable.

Since we rarely need to wait on these, batch them at 1 second intervals
instead. If we do need to wait for them, we just flush the pending
delayed work.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0f158b4c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment