Mercurial > hg > nginx
comparison src/http/modules/ngx_http_log_module.c @ 2247:981483d63e9f
disable directio for access_log with variables
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 12 Sep 2008 13:44:10 +0000 |
parents | f62751dab60d |
children | 07bf557a2e40 |
comparison
equal
deleted
inserted
replaced
2246:987831d73bd8 | 2247:981483d63e9f |
---|---|
428 ngx_memzero(&of, sizeof(ngx_open_file_info_t)); | 428 ngx_memzero(&of, sizeof(ngx_open_file_info_t)); |
429 | 429 |
430 of.log = 1; | 430 of.log = 1; |
431 of.valid = llcf->open_file_cache_valid; | 431 of.valid = llcf->open_file_cache_valid; |
432 of.min_uses = llcf->open_file_cache_min_uses; | 432 of.min_uses = llcf->open_file_cache_min_uses; |
433 of.directio = NGX_MAX_OFF_T_VALUE; | |
433 | 434 |
434 if (ngx_open_cached_file(llcf->open_file_cache, &log, &of, r->pool) | 435 if (ngx_open_cached_file(llcf->open_file_cache, &log, &of, r->pool) |
435 != NGX_OK) | 436 != NGX_OK) |
436 { | 437 { |
437 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, | 438 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, |