Re: aio #2: why aren't we doing async writes?

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Wed, 11 Jun 2008 13:56:19 +0200

On ons, 2008-06-11 at 13:14 +0200, Henrik Nordstrom wrote:
> On ons, 2008-06-11 at 17:48 +0800, Adrian Chadd wrote:
> > Subject says it all - open, read and unlink are async, but write and close aren't.
> > Why is at least write not async?
>
> Simply because when testing on Linux they very rarely block, with the fs
> buffers absorbing them fully as long as you don't run too short on
> memory.

Oh, forgot to say that there is #define's in store_asyncufs.h tuning
this. But the non-default settings hasn't been tested in a very very
long time.. (2000 timeframe)

Regards
Henrik

Received on Wed Jun 11 2008 - 11:56:25 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 11 2008 - 12:00:05 MDT