Re: Speeding up dpkg, a proposal
On 3/3/2011 1:30 PM, Guillem Jover wrote:
> Actually, this was discarded early on, as Linux does not implement
> aio_fsync() for any file system. Also the interface is quite cumbersome
> as it requires to keep state for each aio operation, and using SA_SIGINFO
> (which is not yet available everywhere).
I was wondering why I couldn't find the fs implementation. How
annoying. The posix and libaio wrapper interfaces are cumbersome, but
directly calling io_submit it would be perfect to queue up all of the
writes at once and then wait for their completion. If the kernel
actually implemented it. Sigh.