3 ms·
Is there any intention to optimize work done, rather than just the calling interface? E.g., running an rsync if a 10m files hierarchy usually requires 10m sync
by beagle3 6y ago
Is there any intention to optimize work done, rather than just the calling interface?
E.g., running an rsync if a 10m files hierarchy usually requires 10m synchronous stat calls. Using io-uring would make them asynchronous, but they could potentially be done more efficiently (e.g. convert file names to inodes in blocks of 20k, and then stat those 20k inodes in a batch).
That would require e.g. the VFS layer to support batch operations. But the io-uring would actually allow that without a user space interface change.