aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_buf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_buf.h')
-rw-r--r--src/core/ngx_buf.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/ngx_buf.h b/src/core/ngx_buf.h
index ba4854489..847eaad05 100644
--- a/src/core/ngx_buf.h
+++ b/src/core/ngx_buf.h
@@ -89,6 +89,11 @@ struct ngx_output_chain_ctx_s {
#endif
unsigned need_in_memory:1;
unsigned need_in_temp:1;
+#if (NGX_HAVE_FILE_AIO)
+ unsigned aio:1;
+
+ ngx_output_chain_aio_pt aio_handler;
+#endif
off_t alignment;
@@ -99,10 +104,6 @@ struct ngx_output_chain_ctx_s {
ngx_output_chain_filter_pt output_filter;
void *filter_ctx;
-
-#if (NGX_HAVE_FILE_AIO)
- ngx_output_chain_aio_pt aio;
-#endif
};