]> git.kaiwu.me - nginx.git/commit
Bugfix: open_file_cache lost is_directio flag.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 5 Sep 2011 16:36:19 +0000 (16:36 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 5 Sep 2011 16:36:19 +0000 (16:36 +0000)
commit4f65a05d1819392acdef365f387fa078baaabaab
treea0e33e0aa7456138366e8eff2143a8dfabfe5e25
parent3a73e50498cc7bba3d2fd2ac31236b5a1b2c287e
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.
src/core/ngx_open_file_cache.c
src/os/unix/ngx_file_aio_read.c
src/os/unix/ngx_linux_aio_read.c