Real async file IO on Linux?

Alan Bateman Alan.Bateman at oracle.com
Wed Jul 27 09:39:41 PDT 2011


Tim Fox wrote:
> :
>
> I believe non buffered IO is what async IO is all about. Focussing on 
> the buffered use case is looking in the wrong place, IMHO.
There isn't anything in this API that is specific to buffered I/O. 
Rather it's that non-buffered I/O is a more advanced that will require a 
few other things, in particular the ability for more advanced 
applications to get direct buffers that have the required alignment and 
various attributes that they need to initiate I/O operations at 
appropriately aligned offsets and sizes. We just haven't done that for 
jdk7 but there is nothing to preclude us from doing that in the future.

-Alan.


More information about the nio-discuss mailing list