This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug librt/20950] Do asynchronous execution for lio_listio's IOs
- From: "Ulrich.Windl at rz dot uni-regensburg.de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 26 Jan 2017 07:36:06 +0000
- Subject: [Bug librt/20950] Do asynchronous execution for lio_listio's IOs
- Auto-submitted: auto-generated
- References: <bug-20950-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20950
--- Comment #2 from Ulrich Windl <Ulrich.Windl at rz dot uni-regensburg.de> ---
(In reply to Florian Weimer from comment #1)
> Out of curiosity, is there a reason why you cannot use libaio instead of the
> glibc aio interface? Thanks.
Two reasons:
1) It (lio_listio()) is POSIX, so it may run on several machines.
2) I didn't know that there are two implementations ;-)
BTW: In the meantime I reimpemented my own mechanism that used a pool of max n
requests that is refilled by the application as soon as there is some slot
available, and n threads are doing the IOs vie pread(). That is very close to
what I wanted.
--
You are receiving this mail because:
You are on the CC list for the bug.