aio + directio

alexander_koch_log alexander_koch_log at lavabit.com
Sat Feb 23 20:32:07 UTC 2013


Hi,

Quoting "http://nginx.org/en/docs/http/ngx_http_core_module.html#aio"

> /(....)Reading of unaligned file's end is still made in blocking mode. 
> The same holds true for byte range requests, and for FLV requests not 
> from the beginning of a file: reading of unaligned data at the 
> beginning and end of a file will be blocking(....)/


Am I correct to understand if a file is unaligned and byte-range request 
is sent from say the middle of the file to few bytes "before the end of 
the file" that the aio call will not block and it will only block if 
reading from the beginning of the file and at the end of the file?

Thank you.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130223/4f1253a1/attachment.html>


More information about the nginx-devel mailing list