comparison src/os/unix/ngx_linux_aio_read.c @ 638:f5a8cf31a203 NGINX_1_1_3

nginx 1.1.3 *) Feature: the module ngx_http_mp4_module. *) Bugfix: in Linux AIO combined with open_file_cache. *) Bugfix: open_file_cache did not update file info on retest if file was not atomically changed. *) Bugfix: nginx could not be built on MacOSX 10.7.
author Igor Sysoev <http://sysoev.ru>
date Wed, 14 Sep 2011 00:00:00 +0400
parents c5122335e41d
children eb208e0cf44d
comparison
equal deleted inserted replaced
637:83b74d7020ba 638:f5a8cf31a203
72 ngx_set_errno(0); 72 ngx_set_errno(0);
73 return aio->res; 73 return aio->res;
74 } 74 }
75 75
76 ngx_set_errno(-aio->res); 76 ngx_set_errno(-aio->res);
77
78 ngx_log_error(NGX_LOG_CRIT, file->log, ngx_errno,
79 "aio read \"%s\" failed", file->name.data);
80
77 return NGX_ERROR; 81 return NGX_ERROR;
78 } 82 }
79 83
80 ngx_memzero(&aio->aiocb, sizeof(struct iocb)); 84 ngx_memzero(&aio->aiocb, sizeof(struct iocb));
81 85