[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c384c5ea0905230545l6bedf344haa2757e99a9b900a@mail.gmail.com>
Date: Sat, 23 May 2009 14:45:21 +0200
From: Leon Woestenberg <leon.woestenberg@...il.com>
To: Michal Hocko <mhocko@...e.cz>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
devel@...uxdriverproject.org
Subject: Re: Rich man's version of AIO on Linux 2.6.x?
Hello,
On Fri, May 22, 2009 at 4:54 PM, Michal Hocko <mhocko@...e.cz> wrote:
> On Fri 22-05-09 02:59:53, Leon Woestenberg wrote:
>> On the state-of-art of asynchronous I/O in Linux. I understand we have
>> full support for AIO in the Linux 2.6.x kernel but I cannot find how
>> to use it from user space.
>>
>> I would like to exploit AIO in hardware and the device driver for it,
>> by keeping the hardware performing I/O at all times (no setup latency
>> between requests by allowing multiple
>> I/O requests to be queued in hardware). Note this is a character
>> device, not a filesystem.
>
> Check the libaio library (io_submit and friends)
>
Thanks, I checked the libaio library. It does not support the POSIX
interface, which I'ld like to use to keep things portable.
The http://www.bullopensource.org/posix/ library is more promising in
that regard but it doesn't seem maintained.
Regards,
--
Leon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists