]> git.kaiwu.me - nginx.git/commit
Merge of r3966, r3967, r3968, r3969, r3970, r3971:
authorIgor Sysoev <igor@sysoev.ru>
Mon, 29 Aug 2011 09:51:56 +0000 (09:51 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 29 Aug 2011 09:51:56 +0000 (09:51 +0000)
commit34f579fb6d3c6582a685e65265f332fa8cf83fe8
tree015b96a4bc4a5b03f490b81cc4863f83a5dd5745
parent283936abca079a6f6e6c0dd23b4a5fd45467e96a
Merge of r3966, r3967, r3968, r3969, r3970, r3971:

Cache loader improvements:

The cache loader performs two tasks: inserting cache objects in inactivity
list and evaluating total cache size. Reading just directory is enough for
this purpose. Elimination of reading cache files saves at least one disk I/O
operation per file.
src/core/ngx_file.c
src/core/ngx_file.h
src/http/ngx_http_file_cache.c
src/os/unix/ngx_files.h
src/os/win32/ngx_files.h