]> git.kaiwu.me - nginx.git/commit
Threads: writing via threads pools in event pipe.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 18 Mar 2016 03:44:49 +0000 (06:44 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 18 Mar 2016 03:44:49 +0000 (06:44 +0300)
commit348f705c000bdbfbee74d6f0111a03697f8ffa4f
tree257c01008977e51e7dd44b0d69d1795d4bb362ce
parent10c8c8d6a47db5e84825479438ce5848b2d1dda4
Threads: writing via threads pools in event pipe.

The "aio_write" directive is introduced, which enables use of aio
for writing.  Currently it is meaningful only with "aio threads".

Note that aio operations can be done by both event pipe and output
chain, so proper mapping between r->aio and p->aio is provided when
calling ngx_event_pipe() and in output filter.

In collaboration with Valentin Bartenev.
src/event/ngx_event_pipe.c
src/event/ngx_event_pipe.h
src/http/ngx_http_core_module.c
src/http/ngx_http_core_module.h
src/http/ngx_http_upstream.c