disable directio for unaligned reads in Linux

This commit is contained in:
Igor Sysoev
2008-09-12 13:50:12 +00:00
parent 0f8ea4de46
commit fae2c00d02
7 changed files with 83 additions and 12 deletions

View File

@@ -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