Mercurial > hg > nginx-quic
comparison src/http/ngx_http_file_cache.c @ 3178:975f0558aab3
read_ahead
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 30 Sep 2009 13:21:52 +0000 |
parents | 47b7b6ac433e |
children | b495a56f1f24 |
comparison
equal
deleted
inserted
replaced
3177:adc4fc0c3cc3 | 3178:975f0558aab3 |
---|---|
279 of.uniq = c->uniq; | 279 of.uniq = c->uniq; |
280 of.valid = clcf->open_file_cache_valid; | 280 of.valid = clcf->open_file_cache_valid; |
281 of.min_uses = clcf->open_file_cache_min_uses; | 281 of.min_uses = clcf->open_file_cache_min_uses; |
282 of.events = clcf->open_file_cache_events; | 282 of.events = clcf->open_file_cache_events; |
283 of.directio = NGX_OPEN_FILE_DIRECTIO_OFF; | 283 of.directio = NGX_OPEN_FILE_DIRECTIO_OFF; |
284 of.read_ahead = clcf->read_ahead; | |
284 | 285 |
285 if (ngx_open_cached_file(clcf->open_file_cache, &c->file.name, &of, r->pool) | 286 if (ngx_open_cached_file(clcf->open_file_cache, &c->file.name, &of, r->pool) |
286 != NGX_OK) | 287 != NGX_OK) |
287 { | 288 { |
288 switch (of.err) { | 289 switch (of.err) { |