comparison src/core/ngx_open_file_cache.c @ 4076:37da005a5808

Bugfix: open_file_cache lost is_directio flag. On file retest open_file_cache lost is_directio if file wasn't changed. This caused unaligned operations under Linux to fail with EINVAL. It wasn't noticeable with AIO though, as errors wasn't properly logged.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 05 Sep 2011 16:36:19 +0000
parents e7cd13b7f759
children efeee901439a
comparison
equal deleted inserted replaced
4075:39574a944f66 4076:37da005a5808
288 288
289 if (file->event) { 289 if (file->event) {
290 file->use_event = 1; 290 file->use_event = 1;
291 } 291 }
292 292
293 of->is_directio = file->is_directio;
294
293 goto renew; 295 goto renew;
294 } 296 }
295 297
296 /* file was changed */ 298 /* file was changed */
297 299