Re: async-io API registration for 2.5.29

Benjamin LaHaise
2002-07-30T12:46:16Z

On Tue, Jul 30, 2002 at 07:41:11AM +0200, Andrea Arcangeli wrote:
> instead of separate syscalls for the various async_io
> PREAD/PREADX/PWRITE/FSYNC/POLL operations there is just a single entry
> point and a parameters specify the operation. But this is what the
> current userspace expects and I wouldn't have too much time to change it
> anyways because then I would break all the userspace libs too (I just
> break them because of the true syscalls instead of passing through the
> /proc/libredhat that calls into the dynamic syscall, but that's not
> too painful to adapt). And after all even the io_submit isn't too bad
> besides the above slowdown in the multiplexing (at least it's sharing
> some icache for top/bottom of the functionality).

What would you suggest as an alternative API? The main point of multiplexing
is that ios can be submitted in batches, which can't be done if the ios are
submitted via individual syscalls, not to mention the overlap with the posix
aio api.

> checked that it still compiles fine on x86 (all other archs should keep
> compiling too). available also from here:
>
> http://www.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.5/2.5.29/aio-api-1
>
> Comments are welcome, many thanks.

That's the old cancellation API. Anyways, the core is pretty much ready, so
don't bother with this patch.

-ben