From 9c5d25179cbda4968962fb2bd8dcbc8e417b7b85 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 14 Sep 2011 14:28:55 +0000 Subject: [PATCH] Fix of the previous commit: is_directio flag processing introduced in r4077 is still worthwhile. --- src/core/ngx_open_file_cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/ngx_open_file_cache.c b/src/core/ngx_open_file_cache.c index 1306d14b0..0d605b527 100644 --- 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_t *cache, ngx_str_t *name, file->use_event = 1; } + of->is_directio = file->is_directio; + goto update; }