Open SUPERCILEX opened 1 year ago
unlinkat is supported by io_uring, so we should be able to queue a getdents buffer size worth of file unlinks. Whether or not that faster, I'm not sure.
The uring command queue can be bound to a thread local.
Very wip implementation for rmz
: https://github.com/SUPERCILEX/fuc/tree/io_uring_rmz
If io_uring ever adds support for copy_file_range (splice doesn't do copy acceleration AFAIK), we should be able to use that to parallelize our writes.