Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/auto/os
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-09-12 17:50:12 +0400
committerIgor Sysoev <igor@sysoev.ru>2008-09-12 17:50:12 +0400
commitfae2c00d02d3631347a17deab2709968be1a05c7 (patch)
treea62d5986fc44f517e87de51567145b12bbaab078 /auto/os
parent0f8ea4de461b5fc54b69e09364c94b066363c0c9 (diff)
disable directio for unaligned reads in Linux
Diffstat (limited to 'auto/os')
-rw-r--r--auto/os/features4
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