commit | 4a38aed2a0a729ccecd84dca5b76d827b9e1294d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu May 14 17:21:15 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri May 15 11:56:18 2020 -0600 |
tree | 46d413220c0bfd00f6473b7c514318847558e488 | |
parent | 0f158b4cf20e7983d5b33878a6aad118cfac4f05 [diff] |
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: Jens Axboe <axboe@kernel.dk>