Mercurial > hg > nginx
comparison src/http/ngx_http_script.c @ 3178:975f0558aab3
read_ahead
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 30 Sep 2009 13:21:52 +0000 |
parents | a7637c2c1157 |
children | 42c16d8bddbe |
comparison
equal
deleted
inserted
replaced
3177:adc4fc0c3cc3 | 3178:975f0558aab3 |
---|---|
1405 | 1405 |
1406 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 1406 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
1407 | 1407 |
1408 ngx_memzero(&of, sizeof(ngx_open_file_info_t)); | 1408 ngx_memzero(&of, sizeof(ngx_open_file_info_t)); |
1409 | 1409 |
1410 of.read_ahead = clcf->read_ahead; | |
1410 of.directio = clcf->directio; | 1411 of.directio = clcf->directio; |
1411 of.valid = clcf->open_file_cache_valid; | 1412 of.valid = clcf->open_file_cache_valid; |
1412 of.min_uses = clcf->open_file_cache_min_uses; | 1413 of.min_uses = clcf->open_file_cache_min_uses; |
1413 of.test_only = 1; | 1414 of.test_only = 1; |
1414 of.errors = clcf->open_file_cache_errors; | 1415 of.errors = clcf->open_file_cache_errors; |