diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-09-12 17:50:12 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-09-12 17:50:12 +0400 |
commit | fae2c00d02d3631347a17deab2709968be1a05c7 (patch) | |
tree | a62d5986fc44f517e87de51567145b12bbaab078 /auto/os | |
parent | 0f8ea4de461b5fc54b69e09364c94b066363c0c9 (diff) |
disable directio for unaligned reads in Linux
Diffstat (limited to 'auto/os')
-rw-r--r-- | auto/os/features | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/os/features b/auto/os/features index 8efed75a2..5fcbf7f6b 100644 --- a/auto/os/features +++ b/auto/os/features @@ -182,6 +182,10 @@ ngx_feature_test="fcntl(0, F_SETFL, O_DIRECT);" . auto/feature +if [ $ngx_found = yes -a "$NGX_SYSTEM" = "Linux" ]; then + have=NGX_HAVE_ALIGNED_DIRECTIO . auto/have +fi + ngx_feature="F_NOCACHE" ngx_feature_name="NGX_HAVE_F_NOCACHE" ngx_feature_run=no |