aio + directio

Igor Sysoev igor at sysoev.ru
Sun Feb 24 06:16:11 UTC 2013


On Feb 24, 2013, at 0:32 , alexander_koch_log wrote:

> 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?


No, any unaligned access is a blocking operation. This text should be fixed.


--
Igor Sysoev
http://nginx.com/support.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130224/54657e2a/attachment.html>


More information about the nginx-devel mailing list