Re: Asynchronous I/O Support

Bruno Wolff III <bruno@wolff.to>

From: Bruno Wolff III <bruno@wolff.to>
To: Neil Conway <neilc@samurai.com>
Cc: Martijn van Oosterhout <kleptog@svana.org>, Raja Agrawal <raja.agrawal@gmail.com>, pgsql-hackers@postgresql.org
Date: 2006-10-19T20:28:01Z
Lists: pgsql-hackers
On Sun, Oct 15, 2006 at 14:26:12 -0400,
  Neil Conway <neilc@samurai.com> wrote:
> 
> At least according to [1], kernel AIO on Linux still doesn't work for
> buffered (i.e. non-O_DIRECT) files. There have been patches available
> for quite some time that implement this, but I'm not sure when they are
> likely to get into the mainline kernel.
> 
> -Neil
> 
> [1] http://lse.sourceforge.net/io/aio.html

An improvement is going into 2.6.19 to handle asynchronous vector reads
and writes. This was covered by Linux Weekly News a couple of weeks ago:
http://lwn.net/Articles/201682/