commit | ac8c23a0b219ec6f0c2caf8f2e91438feeb4c12c | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Wed Feb 11 17:52:15 2015 +0300 |
committer | Valentin Bartenev <vbart@nginx.com> | Wed Feb 11 17:52:15 2015 +0300 |
tree | 0cfe79e6cd5bd968c04ec176383c1fd0efc86757 | |
parent | 61582abdf803aaa6584b483383308296e53cc7f1 [diff] |
Refactored sendfile() AIO preload. 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.