Re: async-io API registration for 2.5.29

Benjamin LaHaise (bcrl@redhat.com)
Tue, 30 Jul 2002 08:49:39 -0400


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/