occlum/demos/benchmarks/fio/disable-fadvise.diff
2022-11-30 21:25:32 +08:00

14 lines
308 B
Diff

diff --git a/configure b/configure
index 84ccce04..ba205c92 100755
--- a/configure
+++ b/configure
@@ -1068,7 +1068,7 @@ int main(int argc, char **argv)
}
EOF
if compile_prog "" "" "posix_fadvise"; then
- posix_fadvise="yes"
+ posix_fadvise="no"
fi
print_config "POSIX fadvise" "$posix_fadvise"