# HG changeset patch # User Igor Sysoev # Date 1316010535 0 # Node ID 31cf2902de60938c3e85abe2b919e28c7352284f # Parent efeee901439aa96925a90e415ff84208acf8a370 Fix of the previous commit: is_directio flag processing introduced in r4077 is still worthwhile. diff --git a/src/core/ngx_open_file_cache.c b/src/core/ngx_open_file_cache.c --- a/src/core/ngx_open_file_cache.c +++ b/src/core/ngx_open_file_cache.c @@ -288,6 +288,8 @@ ngx_open_cached_file(ngx_open_file_cache file->use_event = 1; } + of->is_directio = file->is_directio; + goto update; }