diff options
author | Valentin Bartenev <vbart@nginx.com> | 2015-02-11 17:52:15 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2015-02-11 17:52:15 +0300 |
commit | 2b8d6ad805a0132844cfbc1cf1c6988dfe8c9973 (patch) | |
tree | 0cfe79e6cd5bd968c04ec176383c1fd0efc86757 /src/http/ngx_http_request.h | |
parent | 2b7e167dbb59a6d1152c644080e21782b8b675e3 (diff) | |
download | nginx-2b8d6ad805a0132844cfbc1cf1c6988dfe8c9973.tar.gz nginx-2b8d6ad805a0132844cfbc1cf1c6988dfe8c9973.zip |
Refactored sendfile() AIO preload.
This reduces layering violation and simplifies the logic of AIO preread, since
it's now triggered by the send chain function itself without falling back to
the copy filter. The context of AIO operation is now stored per file buffer,
which makes it possible to properly handle cases when multiple buffers come
from different locations, each with its own configuration.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index cffab9a69..9be0c6e71 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -574,9 +574,6 @@ struct ngx_http_request_s { typedef struct { ngx_http_posted_request_t terminal_posted_request; -#if (NGX_HAVE_AIO_SENDFILE) - u_char aio_preload; -#endif } ngx_http_ephemeral_t; |