summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_linux_aio_read.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-03-31Fixed logging.Sergey Kandaurov1-1/+1
2015-02-11Refactored sendfile() AIO preload.Valentin Bartenev1-14/+25
This reduces layering violation and simplifies the logic of AIO preread, since it's now triggered by the send chain function itself without falling back to the copy filter. The context of AIO operation is now stored per file buffer, which makes it possible to properly handle cases when multiple buffers come from different locations, each with its own configuration.
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-09-16Fixing Linux AIO syscalls return value handling:Igor Sysoev1-9/+7
syscall(2) uses usual libc convention, it returns -1 on error and sets errno. Obsolete _syscall(2) returns negative value of error. Thanks to Hagai Avrahami.
2011-09-05Bugfix: open_file_cache lost is_directio flag.Maxim Dounin1-0/+4
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.
2010-10-12update event flags after successful io_submit()Igor Sysoev1-0/+4
2009-11-05export aio presence knowledge to prevent using "aio sendfile",Igor Sysoev1-7/+6
if aio does not present
2009-08-28FreeBSD and Linux AIO supportIgor Sysoev1-0/+131