aio + directio
igor at sysoev.ru
Sun Feb 24 06:16:11 UTC 2013
On Feb 24, 2013, at 0:32 , alexander_koch_log wrote:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel