update event flags after successful io_submit()
Igor Sysoev
11 years ago
1 changed file(s) with
4 addition(s)
and
0 deletion(s)
.
Raw diff
Collapse all
Expand all
+4
-0
src/os/unix/ngx_linux_aio_read.c
less
more
94
94
n = io_submit(ngx_aio_ctx, 1, piocb);
95
95
96
96
if (n == 1) {
97
ev->active = 1;
98
ev->ready = 0;
99
ev->complete = 0;
100
97
101
return NGX_AGAIN;
98
102
}
99
103