aio + directio

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

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

> Hi,
> Quoting ""
>> (....)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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list