Welcome! Log In Create A New Profile

Advanced

Re: aio + directio

February 24, 2013 01:18AM
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

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

aio + directio

alexander_koch_log 1190 February 23, 2013 03:34PM

Re: aio + directio

Igor Sysoev 732 February 24, 2013 01:18AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready