Commit cbc4e1e0 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

enable direct and cached if there no posix_fadvise()

parent 9d127d20
......@@ -367,6 +367,11 @@ int main (int argc, char **argv)
parse_options(argc, argv);
#ifndef HAVE_POSIX_FADVICE
direct |= !cached;
cached = 1;
#endif
if (wsize)
temp_wsize = wsize;
else if (size > temp_wsize)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment