httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <>
Subject Re: async write completion prototype
Date Mon, 10 Oct 2005 15:38:28 GMT
Phillip Susi wrote:

> As an alternative, you can bypass the cache and do direct async IO to 
> the disk with zero copies.  IIRC, this is supported on linux with the 
> O_DIRECT flag.  Doing this though, means that you will need to handle 
> caching yourself, which might not be such a good idea.  Does Linux not 
> support O_DIRECT on sockets?

Can you not just set the socket to non-blocking using O_NONBLOCK?

Brian Akins
Lead Systems Engineer
CNN Internet Technologies

View raw message