changeset 1664:1a05fd32dca8

Documented the "aio_write" directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 21 Mar 2016 17:29:58 +0300
parents 552c06be2335
children 57b53a0818df
files xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml
diffstat 2 files changed, 39 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml
+++ b/xml/en/docs/http/ngx_http_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="52">
+        rev="53">
 
 <section id="directives" name="Directives">
 
@@ -154,6 +154,24 @@ See also the <link id="sendfile"/> direc
 </directive>
 
 
+<directive name="aio_write">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.9.13</appeared-in>
+
+<para>
+If <link id="aio"/> is enabled, specifies whether it is used for writing files.
+Currently, works only when using
+<literal>aio threads</literal>
+and is used for writing temporary files with data received from proxied servers.
+</para>
+
+</directive>
+
+
 <directive name="alias">
 <syntax><value>path</value></syntax>
 <default/>
--- a/xml/ru/docs/http/ngx_http_core_module.xml
+++ b/xml/ru/docs/http/ngx_http_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_core_module"
         link="/ru/docs/http/ngx_http_core_module.html"
         lang="ru"
-        rev="52">
+        rev="53">
 
 <section id="directives" name="Директивы">
 
@@ -154,6 +154,25 @@ aio threads=pool$disk;
 </directive>
 
 
+<directive name="aio_write">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.9.13</appeared-in>
+
+<para>
+При включённом <link id="aio"/> разрешает его использование для записи файлов.
+В настоящий момент работает только при использовании
+<literal>aio threads</literal>
+и используется при записи временных файлов с данными,
+полученными от проксируемых серверов.
+</para>
+
+</directive>
+
+
 <directive name="alias">
 <syntax><value>путь</value></syntax>
 <default/>